Totally Zenned
- Join Date:
- Nov 2006
- Location:
- Dartmouth, NS Canada
- Posts:
- 2,400
- Plugin Contributions:
- 0
Double slashes in URLs, mod_rewrite at fault?
Hi,
Today, after a few days working on a Custom template, I decided to try one I downloaded (Wallet) since it was closer to what I wanted than what I'd been working on.
I installed it as instructed and everything seemed fine. Loaded up my site and it looked awful. It appears to be templateless. Just default.
Then I noticed that in the layout boxes controller the addresses of the boxes all have double slashes in them now, like "sideboxes//categories.php". And my site url, both in admin and in my store, also have double slashes now. For example...
https://www.mydomain.com/store//index.php?main_page=product_info&cPath=65&products_id=180
I'm sure this has nothing to do with the template I installed. It didn't require any editiing of files at all. And I took it out without fixing the problem. But what the heck could it be? Everything was fine until I put in the new template and clicked Update.
Any ideas?
Is it possible for a mod_rewrite to be the culprit? I had that put in yesterday so my site would be secure -- now requires https instead of http. Would this upset admin? This was the first serious update (the template install, I mean) since setting up that mod_rewrite.
Here's the rule, in case it matters...
RewriteEngine On
RewriteCond %{HTTP_HOST} https://www.mydomain.com/shop [NC]
RewriteRule ^/(.*)$ https://www.mydomain.com/store [R]
Rob
Breakfast: the most important donut of the day.