Dr-SeMSeM Posted August 26, 2009 Report Share Posted August 26, 2009 Hi all ,im creating a website base on tree category ..suppose that the category will be like this example index.php&showcat=1 and category no1 named as games or series ...etc ..how to make the url appear as next :domain.com/section/subsection/...........etcthanks for help Link to comment Share on other sites More sharing options...
justsomeguy Posted August 26, 2009 Report Share Posted August 26, 2009 Do a Google search for URL rewriting. Apache servers use mod_rewrite to do that. Link to comment Share on other sites More sharing options...
Dr-SeMSeM Posted August 27, 2009 Author Report Share Posted August 27, 2009 i contact my hosting provider and told me its enabled and give me this code to put it in htaccess file IfModule mod_security.c>SecFilterEngine OffSecFilterScanPOST Off</IfModule>but this code write or wrong and where to upload it .. in root folder of the script ?? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 27, 2009 Report Share Posted August 27, 2009 The .htaccess file you need to edit is probably in the root of your site. You can have .htaccess in any directory though. There are a lot of resources online for using .htaccess files, you should be able to find several examples through Google or something. I don't really use them much myself. Link to comment Share on other sites More sharing options...
danm68 Posted August 28, 2009 Report Share Posted August 28, 2009 http://edrackham.com/apache/beginners-mod_rewrite-tutorial/Mod rewrite tutorial for you. Hopefully it covers what you want to know. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now