I’ve got an issue I’m trying to resolve with regard to the Portfolio Plugin. It has to do with the final URL path of the individual portfolio items.
In my website settings, under Permalinks, I have a custom URL structure set up: /blog/%postname%/
. This allows my single posts (blog articles) to be structured with /blog/
as the subdirectory for all my posts.
I have configured the Slug field in the Portfolio plugin (under Settings) to be ‘portfolio‘.
When I click on an individual Portfolio Item, the slug for the item resolves to: /blog/portfolio/[portfolio-item]
I do not want to include ‘/blog/’ in my portfolio items URL.
Can you offer some advice on how to change the final URL structure of the portfolio items?
I assume it has to do with the template type that the portfolio items assume, i.e: they are using a single-post
post type. I also assume that a custom function is needed to change the behavior of the portfolio items but I’m not sure how to get started.
Thanks,
David
I do believe I’ve asked this question before but never had it resolved. However, I’m developing my business page in WordPress and I wanted my pages slugs to be the same as the page title. Therefore I used the %pagename& in the custom permalink structure.
However whenever I try to use a custom permalink structure (doesn’t matter which one) I always get a 404 – Not found. Any ideas of what’s causing it, might be a common problem.
https://gyazo.com/596118402bb57da4360553e0f7068cf7 results in => https://gyazo.com/1477044a79cd2491aeab5d6249d8e779
Any ideas, could this be a .htaccess command I’ve forgotten or what can I do? To me it seems weird that such a basic feature takes this much of effort to get working.
]]>in a possibly misguided effort to correct this error I attempted what I think they call a “null edit”, went into Settings->permalinks and (temporarily) changed the permalink choices to “anything other than what I had” (allegedly this forces the core files to update or something), then changed it back to the way it was…
umm, now it refuses to go back to the way it was… all of my internal links are now returning 404 not found errors
please help
In attempting to solve a Google authorship problem I tried what I *think* is referred to as a “null edit”, I’ve read where to get Google to notice or observe that you just made a change somewhere within the internal site structure, it was recommended that we go into Settings => Permalinks and change the permalinks (change to anything other than what you had, save, then change it back to the way you had it)… this was alleged to prompt a ping (or something to that effect)
Well I did that
now my custom structure refuses to save?
What choices do I have to remedy this?
remove the Yoast SEO plugin perhaps?
domain in question is https://www.autodetailingfrederickmd.com
]]>I am trying to custom my permalinks structure, however, when I do this for some reason my post pages get a 404 error, apparently this is because somehow I doubled up my domain url in my permalinks and set every post link to exactly the same broken url.
Is there anyway that I can custom my permalinks and have access to the blog page.
Please have a loo Spanish
Thanks a lot
]]>/%post_id%/%postname%/
—————————–
my sidebars don’t show up. it says:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home1/villagh2/public_html/wp-includes/wp-db.php on line 468
—————————
LINE 468 is:
$query = str_replace(‘%s’, “‘%s'”, $query); // quote the strings
————————-
any suggestions?
]]>Although the post does appear in the format shown above, there seems to be a bug associated with it.
Note the two pages below:
https://www.phoenixqanda.com/uncategorized/new-test
https://www.phoenixqanda.com/BLAH/uncategorized/new-test
They are exactly identical (same PostID), but their URLs are different. I inserted BLAH in there only as an example, but you can basically put anything you want (in that same location) and the page will render.
This is BAD news when it comes to Google, because the spiders will see this as duplicate content, and your site runs the risk of getting banned. I’ve already had some pages drop out of existence (from the Google SERPs) due to this.
Note that this bug only surfaces when I use the Custom Permalink Structure: /%category%/%postname%
Any ideas on how to fix this?
]]>