1,105,281 Community Members

SEO URL Rewrite In PHP

Member Avatar
disha2612_1
Newbie Poster
1 post since Feb 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I have a my URL as : www.domain.com/controller/login.php
And i want to make it look it like: www.domain.com/jobtracker

Please help, i have researched lots of links as i am new to this topic, but did not found appropriate solution yet.. It gives me 500 internal server error

My .htacess file looks like..

RewriteEngine On
RewriteRule ^jobtracker /?$ controller/login.php

LastMitch
Deleted Member
 
0
 

@disha2612_1

Please help, i have researched lots of links as i am new to this topic, but did not found appropriate solution yet.. It gives me 500 internal server error

You can try to used this (it's a Mod Generator, it creates URL Rewrite):

http://www.generateit.net/mod-rewrite/

Member Avatar
migcosta
Junior Poster
112 posts since May 2006
Reputation Points: 13 [?]
Q&As Helped to Solve: 6 [?]
Skill Endorsements: 0 [?]
 
0
 

hey disha2612_1,
did you try to remove the empty space before "/?$" :)

you have
RewriteRule ^jobtracker /?$ controller/login.php
and it should be
RewriteRule ^jobtracker/?$ controller/login.php
----------------------^

that is the reason of your 500 error ;)
cheers

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: