We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,745 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

SEO URL Rewrite In PHP

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

3
Contributors
2
Replies
10 Hours
Discussion Span
2 Months Ago
Last Updated
12
Views
disha2612_1
Newbie Poster
1 post since Feb 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 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/

LastMitch
Industrious Poster
4,132 posts since Mar 2012
Reputation Points: 132
Solved Threads: 334
Skill Endorsements: 45

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

migcosta
Junior Poster
112 posts since May 2006
Reputation Points: 41
Solved Threads: 6
Skill Endorsements: 0

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0729 seconds using 2.69MB