Thanks for the great plug-in!
I created a Custom Post Type “Cases”, so if I create a case it’s listed under /cases/case-1. However, if I’m navigating to /cases I can’t edit the page.
Have searched for an hour on Google, but can’t seem to find a nice way to add a listing-page under the base URL of a Custom Post Type.
I am using Divi. Help would be greatly appreciated!
]]>WordPress, when it is configured to be at root, processes all requests at this port and sends its 404 when it’s not in the blog.
But that keeps happening even after these three files have been edited: apps/wordpress/conf/httpd-prefix.conf
, apps/wordpress/htdocs/wp-config.php
, and apps/wordpress/conf/httpd-app.conf
. When I checked it, WordPress had already been reconfigured starting from the /wordpress
directory in an instance of the local WordPress stack from Bitnami.
Bitnami had made the wise design decision to ship self-contained application stacks with a /appname
base URL, not at the localhost port’s root. So I was able to repurpose apache2/htdocs so that a handful pages at /svg/ could be served by Apache independently.
But that is now definitely compromised because WordPress has now “learned” two URLs to use interchangeably: /wordpress
and /
. That wrong behavior may result from WordPress-internal records.
Then I’ve checked how it works out when setting /blog
instead of /wordpress
, as suggested in https://docs.bitnami.com/installer/apps/wordpress/administration/use-url-subpath/. It is pretty straightforward and works as documented. The problem I’m encountering is that in either case, once the blog engine had been at root, it keeps supporting URLs at root, no matter what URL it is currently set to. At the beginning, Apache was able to serve independently a handful pages at /svg/
. Now WordPress speaks up instead. And when I request the /
, Apache is even prevented from serving the Bitnami start page. Instead, the request is now redirected to /blog/
, and the blog’s homepage is served.
And the most bizarre is that out of 4 manually added links in the page footer, that all have relative URLs at /
to 4 pages of the blog, 2 are opening their page at /
, and 2 at /blog/
, despite I cleared the browser’s cache multiple times and even restarted Chrome (beside restarting Apache again after manually changing from /wordpress
to /blog
). The only thing that changed is that /wordpress
doesn’t work anymore. But /
does, additionally to /blog
.
Bitnami offered great support and helped sorting things out, while advising to reach out for WordPress to ask for help (https://community.bitnami.com/t/local-wordpress-fix-relative-urls-via-configuration/85649/8?u=balwuw), as this is an application-specific issue to be addressed here.
Now my questions are: Why does WordPress keep responding and displaying at root when it isn’t configured to do so, and what takes it to move WordPress’ base URL to a directory **after it had been at root?**
]]>First of all thanks a lot for this awesome plugin.
Actually I wanted to know how can I remove the base slug from the BasePress content URLs to make my permalink structure cleaner as I am not using this plugin as a knowledge base but I am using it as a custom post type for a different type of content that doesn’t fit into the blog post type.
Therefore I just wanna make the URL as my blog page has, for example:
Currently, it is mysite.com/knowledgebase/section/article/
I want it like, mysite.com/section/article/ just like mysite.com/blog/article/
I know this can be done through the function PHP file but I am not an expert in that so asking for your help.
Thanks in advance.
Regards
Wasim
is it possible to change the name of the base Url path …/events/… in detail view? E.g. www.xyz.com/seminars/seminar-name-one instead of www.xyz.com/events/seminar-name-one
Thank you!
Georg
Thanks,
Matt
This plugin always worked for me, however today, I found out the sitemap is working here:
https://newmatnorcal.com/sitemap.xml
But not here:
https://www.newmatnorcal.com/sitemap.xml
I get:
“Error loading stylesheet: An unknown error has occurred (805303f4)”
WordPress is installed in a sub-directory… I do not wish to Override the base URL of the sitemap, I wish to appear in both locations
Thanks for your help and Best Regards,
Philippe
First of all hello!
SO I am over the moon with my wordpress site. Today however I came across a strange bug which I cannot resolve. Basically the base URL of all pages has changed to a https:// prefix (my domain isn’t SSL enabled ATM). I have tried to change it:
– In the admin console under settings: when i go to the page it is showing as https://, I tried to alter it and change it anyway but when the form tries to submit I get an error as it’s trying to submit to a https:// page!
– In wp-config.php: setting definitions at the top of this file. Still no joy.
– In the database, in the options table I think. Again, showing as https://domain
So a quick question to the WP gurus out there! Is there any where that could be setting the base URL which occurs in terms of page rendering after the places I have changed above, because when I look at my base in the source of any pages they are showing as https://domain!! AGGHHH!
Please help a newb. If you want to see for yourself the domain is: https://www.bhcampervanhire.co.uk
Many thanks in advance,
Rob.
What we want is to be able to set a global permalink structure of, for example …
/%variable_one%/%variable_two%/%postname%/
… so that the base URL of the entire site is …
example.com/%variable_one%/%variable_two%/
Essentially I want WordPress to expect to be found two directory levels deep which can be anything and will be used on a custom basis by a theme / plugin.
1) The current variable_one and variable_two values need to be able to be received by, for example $wp_query->query_vars[‘variable_one’]
2) Permalinks to be displayed on the current page need to be able to have these variables set depending on what type of link is being written and other criteria
We have managed to use this …
function my_rewrite_tags() {
add_rewrite_tag( ‘%variable_one%’, ‘([^&]+)’ );
add_rewrite_tag( ‘%variable_two%’, ‘([^&]+)’ );
}
add_action(‘init’, ‘my_rewrite_tags’, 10, 0);
… but cannot work out how to get WordPress to write future permalinks with what we want in (2) above.
Any ideas?
Thanks,
Oliver
]]><ul>
<li>Shows</li>
<li>The Simpsons</li>
</ul>
So I get Shows/The Simpsons.
Now, I don’t want to do it with a plugin, I have many things going on with the list that I can’t use a plugin for this things.
How can I achieve this?
Doing:
$taxonomies = wp_get_post_terms($post->ID,'shows');
Will only return me taxonomies IN the custom taxonomy, wicho is good, but I want the father listed as well, So the people go to the master taxonomy.
Thanks!
]]>