Why not just move the new site to /public_html/ and eliminate the .htaccess redirects?
https://www.zen-cart.com/tutorials/i...hp?article=122
Why not just move the new site to /public_html/ and eliminate the .htaccess redirects?
https://www.zen-cart.com/tutorials/i...hp?article=122
That's the nutshell version, yes. Read the tutorial for all the details.
I might copy instead of move, leaving the /demo/ folder as is until you are sure the move was successful. Then you can delete it if you wish, or keep it as a testbed with perhaps security rules to keep other people and search engines from seeing it.
Thanks Black Belt have followed the instructions here https://www.zen-cart.com/tutorials/i...hp?article=122 but http://www.towerhousedolls.co.uk/ still points to old site.
I think its the old .htaccess file causing the problem. It wont let me alter it or remove the wording. Can I just delete it? If I need to put it back will I be able to?
Use the .htaccess that came with the version you're using.
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
There isnt one.
I just need to take out this...
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?towerhousedolls.co.uk$
RewriteCond %{REQUEST_URI} !^/shop/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /shop/$1
RewriteCond %{HTTP_HOST} ^(www.)?towerhousedolls.co.uk$
RewriteRule ^(/)?$ shop/index.php [L]
...as I dont want my site directed to 'shop' anymore. Thats all there is in the .htaccess file and it will leave it blank.
Although I wrote that in last year and added the .htaccess file I cant now alter it. Can I just delete it? Although it probably wont let me do that either. I have tried doing this via my FTP and also from my host cpanel.
I wanted to get my new site up yesterday on Nov 1st so am desperate to get it live today. Any help would be appretiated.![]()
Can you change permissions on the file in cPanel?
If not, ask your host.