k my site is mywii.com im using joomla so i need to change the folder struckture since im working on seo stuff right now. this is what im using RewriteEngine On Options +FollowSymlinks RewriteBase / RewriteCond %{HTTP_HOST} ^mywii\.com [NC] RewriteRule ^(.*)$ http://www.mywii.com/$1 [L,R=301] RewriteRule /news/ /index\.php?option=com_content&task=blogcategory&id=1&Itemid=7 PHP: this domain is a add-on domain its not my root. mywii.com/news/ dose not work I get a 404 error but mywii.com/wiivg/news/ dose wiivg is the subdirectory that the files are in. what do I need to add to make it mywii.com/news/ keeping in mind that its a subfolder I tried changing the RewriteBase to the subfolder and from server down to the subfolder but that didn’t work any suggestions?
I did not quite follow all that. Normally you create and change the .htaccess that is is the same directory as the installation NOT the one that is your root directory. This works with most cPanel configs.
Off the top of my head and speaking with very little experince in the area, I dont think you need the \ to take the curse off the . that is a php thing. Here is a copy of my rewrite rules that does work on one of the more difficult hosts that I know of.
what host do you use hostgator is not working for me. Both code streams are fine but nether of them work. I contacted them and I got a dumb reply it’s not even related to my problem.
Of the accounts that I have I would suggest you take a look at skynethosting. I have six domains hosted there using the sky2000 plan. Been with them about 4 months and had zero problems. One thing you may love or hate. They give you a cPanel for each of your domains. They set up each domain within a few hours of the time you request it. You just tell them how much of your total allotment you want assigned to each account. I always hated dealing with WHM and addon domains in cPanel. The process of setting them up was a little awkward. I have tested a bunch of scripts in one of my accounts and not found one yet that would not run on their server config.