/    Sign up×
Community /Pin to ProfileBookmark

.htaccess urgent help needed

I’m new to .htaccess .. so please I need your help ..
I need to create friendly search engine urls for my site [url]http://www.itcoursesonline.info[/url]
So I changed the urls in the mail categories( google – webdesign .. ) to look like this
[url]http://www.itcoursesonline.info/courses/all/59[/url] … and when clicked I want it to open the following url [url]http://www.itcoursesonline.info/courses/index.php?page=all_courses&cat_id=59[/url]

So I created a .htaccess file and I wrote this in it :

<IfModule mod_rewrite.c>
RewriteEngine on
Options +FollowSymlinks
RewriteRule ^/courses/all/([0-9]+)$ /courses/index.php?page=all_courses&cat_id=$1
</IfModule>

but this is not working …
please tell me exactly where to upload the .htaccess file .. and what shall I add inside it to solve this problem … I tried several resources on the internet .. and I donot know what is working and what is not .. I host my site with hostgator … and whenever I click my links I got page not found created by hostgator … I donot know if mode rewrite is working on my host or not .. please if any one has any idea .. let me know
thank you

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @m_sahaly spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...