2012-09-20, 06:20:44
Thank you. It works but the addition of "blog" is being ignored in rel="canonical" and sitemap as well.
I'm transferring a site from another CMS to GS, so I'm trying to keep the old url structure (good rankings in search engines).
I'm transferring a site from another CMS to GS, so I'm trying to keep the old url structure (good rankings in search engines).
mvlcek Wrote:[/root.] Wrote:Hello,
Short question, hope you'll find some time to post a reply.
I'm using fancy URLs with the following structure - %slug%
Your plugin is primary for a blog. I've created a page called blog and use it as a parent to list all the special pages using your search plugin.
Question: How I can ignore the permalink structure and to make the urls look like this:
site.com/blog/page-url
instead of
site.com/page-url
because of the %slug% as I meant above.
Thank you.
Why don't you use %parent%/%slug%?
Otherwise you can manually construct your link in HTML/PHP code for the display of a search result in the special page configuration instead of using the standard link, e.g.
Code:...
<a href="/blog/<?php get_special_field('url','',false); ?>">
...