Forums / General Questions / Entire domain appended to URL

Entire domain appended to URL

Started by mclovin on 2 Mar 2015, 8:08 PM · Views: 796

Results 1 to 4 of 4
2 Mar 2015, 8:08 PM
#1
mclovin avatar

mclovin

New Zenner

Join Date:
Feb 2014
Location:
The Netherlands
Posts:
58
Plugin Contributions:
0

Entire domain appended to URL

Hi guys, I've noticed in my Google Analytics account that in certain cases my entire domain is appended to the URL. For example:

/product-c-6/www.domainname.nl

This doesn't seem to cause any problems with standard Zen Cart URL's, but I've also installed WordPress in a root directory ('blog') and those links are dead.

Does anyone know why I might be having this problem and whether there's any way I can fix it? A number of things that come to mind that might be causing this problem are Ultimate SEO plugin that I have installed, my htaccess file, or a problem with a relative link somewhere. Unfortunately I'm mostly guessing.... :frusty:

2 Mar 2015, 9:57 PM
#2
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Entire domain appended to URL

McLovin:

Hi guys, I've noticed in my Google Analytics account that in certain cases my entire domain is appended to the URL. For example: /product-c-6/www.domainname.nl ...
Take a deep breathe and slowly exhale. Good. Now onto the questions.

What does Google Analytics indicate is the "Referrer" or "Previous Page" for the unusual requests?

What is the URL of the website?¹

What are the full contents of all ".htaccess" files which may impact the directories ("/.htaccess", "/blog/.htaccess", "/store/.htaccess", etc)?²

How exactly is your site structured (folder organization)?³

Other information requested in the Posting Tips?⁴

Note 1: Being able to see the URLs generated by Zen Cart and present in any robots.txt / sitemap.xml would be helpful. Please provide a working URL we can use to access the site where the behavior can be observed.

Note 2: Do not leave anything out or obscure anything. Without knowing the exact contents, providing help will be very difficult if they are involved. Please use code tags around the contents so they stay readable (for example: ```
[CODE]contents of the file[/CODE]


**Note 3:** Knowing the exact folder structure will answer some important questions. For example if you have WordPress configured to use "pretty" URLs and in a subfolder under the Zen Cart root, I have a good idea why you are unable to reach the WordPress pages / posts. Once you provide more information we will know for sure and be better able to provide information on the changes needed to support your installation of WordPress and Zen Cart.

**Note 4:** Please answer all the other questions found in the posting tips (these appear above where you type your reply). If you are on a mobile device (such as a phone), please switch to the desktop version (click "Full Version" at the bottom of the screen) or access this site from a notebook / desktop. Answering these questions will help us help you!

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

24 Mar 2015, 3:28 PM
#3
mclovin avatar

mclovin

New Zenner

Join Date:
Feb 2014
Location:
The Netherlands
Posts:
58
Plugin Contributions:
0

Re: Entire domain appended to URL

Hi ihungil, thank you for your reply! Unfortunately I managed to miss it until about now... :S I'm going to look those into those things and I'll get back to you asap! (My website by th way is www dot bones fashion dot nl. Although I'm going to migrate it soon).

6 Apr 2015, 8:38 AM
#4
mclovin avatar

mclovin

New Zenner

Join Date:
Feb 2014
Location:
The Netherlands
Posts:
58
Plugin Contributions:
0

Re: Entire domain appended to URL

OK, after migration the whole issue resolved itself. I have no idea what the problem might have been, as I haven't changed anything to the code. Very strange!