Bizarre PDF URL string
-
Hey folks,
I'm getting literally hundreds of Duplicate Title and Duplicate Content errors for a site, and most of them are a result of the same issue. The site uses javascript container pages a lot, but each gets their own URL. Unfortunately, it seems like each page is also loading all the content for all the other pages, or something.
For instance, I have a section of the site under /for-institutions/, and then there are 5 container pages under that. Each container page has it's own URL, so when you select it, you get the URL /for-institutions/products/ or /for-institutions/services/ etc. However, the institutions container page doesn't change, just the content within.
In my SEO results, I'm getting the following:
/for-institutions/$%7Bpdf%7D/
/for-institutions/$%7Bpdf%7D/$%7Bpdf%7D/ etc, each as a duplicate title and content page. How can I eliminate this? Is there a regular expression that rewrites URL segments beginning with $ ?
For your reference: The page is set up so that any URL that doesn't exist just refers to the subdirectory. /for-institutions/$%7Bpdf%7D/ displays /for-institutions/, but does not rewrite the URL. So too if I were to enter /for-institutions/dog.
-
Can you provide a full URL for the website?
-
-
I'm not familiar with the Monk CMS, but looking at your code, you have some links to:
${pdf} - the %7B and %7D are basically URL encodes for the braces.
My guess is that ${pdf} is supposed to be parsing into a real URL, but it's not happening...
-
Did you get a chance to have your developer look at your code? Here's a snippet -
There's another one right above that I suspect also includes some items that aren't parsing.
<fieldset class="question">
<legend>${question}</legend>
{{each answers}}<label for="q${$data.id}a${$index}">${text}</label>
{{/each}}
</fieldset>
It's more than likely template code specific to the MonkCMS that isn't getting processed - perhaps there's not a matching variable / object setup in the system.
You will notice that both sections are currently hidden, so maybe you can just do without them altogether?
-
I didn't develop the site and I don't currently have FTP access to actually edit the templates, or I could probably eliminate that myself. Thanks! I will figure out exactly what's going on with your help now. I appreciate it.