Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 08-19-2011, 06:53 PM
Trust Trust is offline
Hatchling Croc
 
Join Date: Aug 2011
Posts: 2
Default Help with mod revrite please

Hi have one problem with my mod rewrite i will be glad if someone can help me.
I tryed last days to rewrite my URL to be more shorten i have like this:
Before to post URL i want warrning this website containt ADULT CONTENT please enter if you have +18 or older.
This link: http://cam4share.com/ladydetails.php?user=chrissniper
I want to be like this: http://cam4share.com/chrissniper
Can help me some one?
Thank you,
Trust.
Reply With Quote
  #2  
Old 08-19-2011, 10:30 PM
Trust Trust is offline
Hatchling Croc
 
Join Date: Aug 2011
Posts: 2
Default Re: Help with mod revrite please

Yep i solve it:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
rewriterule ^([a-zA-Z0-9-a-z_]+)$ /ladydetails.php?user=$1 [L]
</IfModule>

But i have other problems if someone can help me, i want added more rules but i don`t know how i tryed right that do add one more but not work:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
rewriterule ^([a-zA-Z0-9-a-z_]+)$ /ladydetails.php?user=$1 [L]
RewriteRule ^featured/?$ featured.php [NC,L]
</IfModule>
Thank you.
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mod Rewrite Help Frustrated Shared Hosting Support 4 08-21-2009 03:22 PM
Mod Rewrite Help luckyroadking Shared Hosting Support 3 06-22-2009 03:04 PM
Mod Rewrite!? Pazeh Shared Hosting Support 3 04-12-2009 04:53 AM

All times are GMT -5. The time now is 03:59 AM.