Unanswered Questions
1,970 questions with no upvoted or accepted answers
10
votes
1
answer
983
views
Custom Taxonomy Endpoint Pagination using paginate_links()
The Setup
I have 2 taxonomies and 1 post type:
Post Type: products
Hierarchical Taxonomy: product_cat
Nonhierarchical Taxonomy: product_type
The product-category has a defined endpoint:
...
8
votes
4
answers
4k
views
Use subdomain for certain urls
I have the following rules in my .htaccess file on a WordPress (single installation):
# REWRITE FORUMS DOMAIN TO FOLDER
RewriteCond %{HTTP_HOST} ^forums\.example\.com$
RewriteRule !^forums/? forums%{...
7
votes
0
answers
3k
views
add_rewrite_endpoint() not working for custom post type archives
i'm working on somekind of wiki/encyclopedia system based on wordpress.
there are two custom post types. i'll show my configuration for one of them:
$labels = array(
'name' => _x('Objects', '...
5
votes
2
answers
1k
views
Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess
For a long time I served my blog from http://www.murrayc.com/blog/, with the wordpress installation in /home/murrayc/murrayc.com/blog/. Now I've moved it to http://www.murrayc.com/, without moving the ...
4
votes
1
answer
701
views
Wordpress keeps deleting .htaccess file
Recently my wordpress site has been experiencing problems with all pages returning a 404 error.
I tracked this down to the fact the .htaccess file in my wordpress directory keeps disappearing.
When ...
4
votes
1
answer
7k
views
Multisite Subdomains result in 403 Forbidden
So I have setup multisite as per the WordPress website page: https://codex.wordpress.org/Create_A_Network
I'm using the latest WordPress 4.8.
Setup
example.com
sub.example.com
All requests for ...
4
votes
0
answers
230
views
Can rewrites fallback if 404? Rewrite conflict issue
I have pages and product categories on my site:
Pages:
--About
--Contact
Products:
--Category 1
----Subcategory 1
--Category 2
Ideally I want mysite.com/category-1/subcategory-1 to show the product ...
4
votes
1
answer
2k
views
Site redirects to wrong url when saving settings
I have a subdomain:
https://blog.example.com/
I forcibly redirects to subdirectory:
https://www.example.com/blog
By changing site URL and some RewriteRule on .htaccess.
Now the website and admin ...
4
votes
1
answer
297
views
WordPress Multisite - Multiple subfolders for blogs
I created a network in blog.animals.com, the network is running fine. I can set up blogs like blog.animals.com/chimpanse. This is also working. I like to have multiple (2) subdirectories for each blog,...
4
votes
2
answers
3k
views
Wordpress multisite subdirectory redirect infinite loop issue
Any time I create a new site on my multisite install, I get an infinite loop redirect when navigating to that site's admin. I'm using the default htaccess supplied by WP for my subdirectory install. ...
4
votes
3
answers
2k
views
Static raw HTML page
On the server there is a static HTML page example.html in my root folder of the WordPress install. Now when a user types www.example.com/example.html I want WordPress to be smart and bypass all normal ...
4
votes
1
answer
1k
views
Custom taxonomy on permalink
I have a long time problem and look forward for your help.
I have a custom taxonomy of "city" (it is no hierarchical like tags).
I just would like my URLs to look like this:
/%city%/%category%/%...
4
votes
0
answers
2k
views
get_permalink returns default link
I hope you can help me.
So I'm using /%postname%/ as permalink structure, and my htaccess looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /develop/...
4
votes
0
answers
194
views
permalinks with get variables
I'm trying to create my own permalinks with wordpress rewrite API. I have been registering my get variables as it follows
add_filter( 'query_vars','driver_vars' );
function driver_vars( $vars ) {
...
4
votes
1
answer
603
views
WordPress + Magento .htaccess ReWriteRule Issue (www vs. non-www)
I have an issue I've been facing for a bit now. Moved away from it, but now I'm back and just have no idea after trying to find a solution online. It seems individuals have faced similar issues, but ...