Free Web Hosting Forum
Go Back   Free Web Hosting Forum > Website Building > Scripts and Code Snippets
Reload this Page .htaccess help: x-zero community classifieds on 000webhost
Reply
 
Thread Tools Display Modes
(#1 (permalink))
Old
Junior Member
hamid789 is on a distinguished road
 
Posts: 1
Join Date: Jul 2011
Default .htaccess help: x-zero community classifieds on 000webhost - 07-29-2011, 07:31 AM

.htaccess help:

I am using x-zero community classifieds on 000webhost but it is not working

Help me at
abdulhameed.pk92@gmail.com
Or reply thread

Here is code but it is not working

Code:
RewriteBase /

RewriteEngine On

# Show ad                                                                                                                                     
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?\.html		
/index.php?view=showad&adid=$7&cityid=$1 [QSA]

# Ads                                                                                                                                         
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?/page([0-9]*)\.html			
/index.php?view=ads&catid=$3&subcatid=$5&cityid=$1&page=$7 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?/([0-9]+)([-_][^/]*)?					
/index.php?view=ads&catid=$3&subcatid=$5&cityid=$1 [QSA]

# Ads by cat                                                                                                                                  
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/posts/([0-9]+)([-_][^/]*)?								
/index.php?view=ads&catid=$3&cityid=$1 [QSA]

# Show event                                                                                                                                  
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/events(/(([0-9]+)-([0-9]+)-([0-9]+)))?/([0-9]+)([-_][^/]*)?\.html			
/index.php?view=showevent&date=$4&adid=$8&cityid=$1 [QSA]

# Events on date                                                                                                                              
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/events/(([0-9]+)-([0-9]+)-([0-9]+))/page([0-9]*)\.html				
/index.php?view=events&date=$3&cityid=$1&page=$7 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/events/(([0-9]+)-([0-9]+)-([0-9]+))							
/index.php?view=events&date=$3&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/events										
/index.php?view=events&cityid=$1 [QSA]

# Show image                                                                                                                                  
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/([^/]+)/([0-9]+)([-_][^/]*)?\.html						
/index.php?view=showimg&posterenc=$3&imgid=$4&cityid=$1 [QSA]

# Images by user, paged                                                                                                                       
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/([^/]+)/page([0-9]+)\.html							
/index.php?view=imgs&posterenc=$3&cityid=$1&page=$4 [QSA]

# Top Images, paged                                                                                                                           
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/page([0-9]+)\.html								
/index.php?view=imgs&cityid=$1&page=$3 [QSA]

# Images by user                                                                                                                              
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images/([^/]+)									
/index.php?view=imgs&posterenc=$3&cityid=$1 [QSA]

# Top Images                                                                                                                                  
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/images										
/index.php?view=imgs&cityid=$1 [QSA]

# Quick ad/event/image                                                                                                                        
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/showpost/([0-9]+)([-_][^/]*)?\.html							
/index.php?view=showad&adid=$3&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/showevent/([0-9]+)([-_][^/]*)?\.html							
/index.php?view=showevent&adid=$3&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?/showimage/([0-9]+)([-_][^/]*)?\.html							
/index.php?view=showimg&imgid=$3&cityid=$1 [QSA]

# City/Region                                                                                                                                 
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?											
/index.php?view=main&cityid=$1 [QSA]
RewriteRule ^([-]?[0-9]+)([-_][^/]*)?											
/index.php?view=main&cityid=$1 [QSA]
Kindly Help Me
Reply With Quote
Sponsored Links
Reply

Tags
.htaccess, .htaccess help, need help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com