Stats: 3,190,175 members, 7,939,758 topics. Date: Wednesday, 04 September 2024 at 11:27 AM |
Nairaland Forum / Science/Technology / Webmasters / Mod Rewrite Not Working On My Addon Domain (724 Views)
Host Unlimited Websites With Addon Domain For The Cost Of One! / Creating Clean Urls Using Mod Rewrite / Whmcs Full Templates And Feature Management Admin Addon (2) (3) (4)
(1) (Reply)
Mod Rewrite Not Working On My Addon Domain by ogzille(m): 11:32am On Oct 03, 2010 |
have a wordpress website on my main domain For the wordpress website i have this in my .htaccess file # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php </IfModule> # END WordPress I just created an addon domain and wanted to use new rules for it I created a .htaccess file and put it inside the addon folder eg /newaddon In the .htaccess file i have: Options -Indexes <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^readjob/(.*)/(.*)/(.*)/$ readjob.php?id=$1&cat=$2&title=$3 </IfModule> The url stucture i have is this: http://www.website.com/readjob/3/jobs/web-designers-web-integrated-services/ But it keeps telling me link is broken I dont know what to do, pls i need assistance Thanks |
Re: Mod Rewrite Not Working On My Addon Domain by Nobody: 12:06am On Oct 04, 2010 |
Well Trying Mods Live should be tested first locally that way if it works locally u can know that your host hasn't enabled it because in either php.ini or http.conf (Apache Directives) if Override settings is set to none then any htaccess won't work contact our host if the local works its the only reasonable step to take, |
Re: Mod Rewrite Not Working On My Addon Domain by ogzille(m): 10:02am On Oct 11, 2010 |
Problem solved This line Options -Multiviews did the work. Thanks |
(1) (Reply)
Website Review Please / Pls: Security Is Very Important Just Like You Are Getting Paid / Cheap Vps Hosting $20 By Opencpnael.com
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9 |