All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

Cannot publish posts or pages when I change permalink structure

I changed the permalink structure to be just /%postname%/ without the index.php, I've added the required lines to the .htaccess file, Allowed override in the httpd.conf but it still doesn't work. ...
1
vote
1answer
22 views

WordPress Sub domain

I installed WordPress on sub domain and I have Permalinks as domain/subdomain.com. In this way this website is working correctly and the main website is accessible via subdomain.domain.com as well ...
1
vote
0answers
66 views

Page preview is shown, updating page gives 404 error

I can add new pages and preview them, but once I upload them I get a 404 "Not found" error. I thought it's a problem with my permalinks, so I followed some tutorials to fix this like http://www....
0
votes
1answer
58 views

removed index.php now all pages 404

I added this code to my .htaccess file to get rid of index.php, but now all the pages 404 (the hyperlinks are mapped to the correct url) # BEGIN WordPress <IfModule mod_rewrite.c> ...
0
votes
0answers
19 views

Mystery with permalink: works only with Custom Post Types and not with Posts and Pages

My permalink works only with Custom Post Types and not with Posts and Pages. The permalink structure is https://mainsite.com/mysite/%category%/%postname%/ I'll break down the details of the mystery: ....
1
vote
3answers
56 views

Permalinks settings page blank

My site is giving a 500 error and I've been trying various ways to fix it. First, I'm trying to reset permalinks, but the options-permalink.php page is totally BLANK. Unlike all the other solutions ...
0
votes
0answers
17 views

Access non-wp .php file on Wordpress subfolder

I have the following .htaccess for my wordpress / bedrock installation: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /mysite/ RewriteRule ^index\.php$ - [L] ...
1
vote
2answers
46 views

How to change old permalink?

My old permalink structure is /index.php/%year%/%monthnum%/%day%/%postname%/. For example: https://example.com/index.php/2019/01/08/technological-innovation-for-agriculture-sector-in-india/ but I ...
1
vote
2answers
152 views

Plain permalinks not working!

For my wordpress website plain permalinks are not working. The post url is changing but when we click on the post its not redirecting to the post page. It will be in the home page itself. For example:...
3
votes
1answer
564 views

Changing Permalinks to a Custom Permalink causes a 404 Error [no matter what I do]

I've changed my permalinks to a custom one. When I saw my contact page was sitting on [domain]/index.php/contact instead of [domain]/contact this isn't isolated to /contact however. I went and deleted ...
0
votes
0answers
787 views

Wordpress not generating .htaccess but tells me that (Permalink structure updated.)

I hope someone can help me. I am configuring my new Centos 7 server with directadmin and ran into the following problem(s); my .htaccess file won't generate after saving permalinks, but says (...
0
votes
1answer
83 views

.htaccess rewriterule being ignored - tyring to remove dates from WP posts

Should be a fairly simple procedure. I've done a fair share of internet searching and can't get the htaccess rewrite to work in /public_html Using a VPS Apache server, any idea's why? Thank you in ...
1
vote
0answers
30 views

Redirect Uploads Folder to Query Vars in WordPress

I'm looking to redirect pdfs documents from the uploads folder to WordPress to prevent unauthorized site visitors from viewing them. I have used the code provided from this thread How to restrict ...
1
vote
0answers
38 views

Wordpress url ingore permalinks setting [closed]

My WordPress site seems to ignore my permalink settings for example; I have a page with this link: https://mywebsite.com/hello-world/ but when I view it the path on the address bar changed to: ...
1
vote
1answer
554 views

After moving from subdirectory to home, home page does not display

I moved a wordpress directory from "http://example.net/wordpress" to "http://example.net" and now the home page is giving a 404 error. Every other page is working correctly, AFAIK. For example, "...
1
vote
1answer
40 views

Redirect a Blogger Page URL to wordpress

I have migrated from blogger to wp. And so far, I've solved most of my 404 errors and redirection issues but there is still one problem. A several pages from blogger got indexed by Google and they are ...
1
vote
1answer
2k views

Why does chrome keep downloading a file instead of running the site?

I have installed Wordpress by downloading the latest version of Wordpress, installing WampServer (64 bit), setting up the DB, and successfully got through the famous 5-minute installation. This all ...
1
vote
0answers
88 views

URL rewriting: removing the site's basename for a specific category

I have a prestashop site with a WP blog inside. I'd like to use Wordpress for some contents of the site but do not wish to show it as a content of the blog, so I'd like to remove the WP folder name ...
0
votes
1answer
165 views

wordpress admin panel loop on nginx

After updating my nginx conf file for wordpress permalinks, wordpress administrator page starts redirect loop. Why? And how can I solve this problem? My nginx conf file: server { listen 80; ...
3
votes
1answer
953 views

Wordpress on a subdirectory of Laravel - Wordpress pretty permalinks inner page shows laravel

I read lots of discussions about this and found no solution. I have a Laravel web app and added a Wordpress site in a subdirectory. This is what my .htaccess looks like within the public folder: <...
2
votes
3answers
2k views

Redirect user if it's not logged in

can you help me with little problem. I need to find a solution, how to redirect user to login page when he wants to download file over link in post content, so, I have some files and I want them to ...
2
votes
0answers
74 views

Passing parameters to Wordpress static front page

I have a custom plugin that shows a series of custom posts on a page, i.e. http://www.example.com/permalink/ On that page I have a form to filter the posts according to a number of different ...
0
votes
0answers
35 views

Very strange behaviour related to htaccess and custom posts and custom posts substrings (BUG?)

I have a custom post whose name is "babysitter". I wrote this in my .htaccess: RewriteRule ^babysitter/?$ /index.php/some-page/ [QSA,L] In layman terms, if url matches hostname.com/babysitter ...
0
votes
1answer
387 views

change Wordpress permalinks and redirect new urls 301

I was using this WordPress permalink string. /%year%/%monthnum%/%postname%.html but now I want to change it to, and redirect all old URLs to new URLs /?p=65 Sample old URL is: http://www.example....
1
vote
1answer
368 views

301 Redirects Result in 404 for WordPress Search Query Strings

I'm working with a blog that has been around for a long time but was migrated to WordPress from a different platform recently. All of the old URLs are mapped to new permalinks via 301 redirects in ....
1
vote
1answer
32 views

How do I apply friendly URL permalinks to a custom WordPress template?

I have a WordPress site. I created a custom template page which is referenced like follows: /archive-template.php?posttype=publications&taxo=countries&slug=kenya How can I have these links ...
0
votes
0answers
34 views

No Ones Been Able to Override my Wordpress Rewrite Rule Issue!

I'll try to keep this quick; for (literal) months, now, I've tried dozens of ways to create my own permalinks, for example: www.mycoolsite.com/Burger/Hot would really load the URL as www....
0
votes
2answers
84 views

My permalinks for all pages and posts now include old page titles as parents/categories

The permalink structure has changed with old entries as well as any new entry (post, object, etc) from THEN to NOW THEN: constructstudies.com/(page slug or object label) NOW: ...
0
votes
2answers
494 views

After updating to 4.8 permalinks will not work (all 404)

I honestly did expect to get here... I tried every tool in the book... Save changes on the permalinks page... I installed debug this to see what going on with the query... I repeated other operations ...
0
votes
1answer
87 views

404 posts error after 301 redirection of changed category / tag base

I have set category and tag base as below.. Category: News, which makes category url as domain.com/News/category-name Tag: News-List, which makes tag url as domain.com/News-List/tag-name After that ...
0
votes
1answer
19 views

Wordpress All pages but home simply read “hello”

My WordPress weirdly stopped working recently... The home page loads as intended but every page further in simply reads "hello" I checked template files and event tried to deliberately reach a 404 ...
0
votes
1answer
29 views

Issue with my links or permalinks

I have a wordpress site that is set to www.mydomainsample.com, however when it opens other link for instance the service page, it will show localhost/wordpress/index.php/services. Any idea how I can ...
1
vote
1answer
2k views

Redirecting all posts after changing URL structure with htaccess

I am looking for the .htaccess regular expression that would redirect the old structure to the new one, the reason i don't want to use plugins is they often have unexpected results when WordPress ...
2
votes
0answers
136 views

Rewrite my default post URL

I want to have this URL structure for my default post type : domain.com/blog/{post_ID}.php For other pages and post, I want a classic URL like : domain.com/page/sub-page/sub-sub-page/... In the ...
1
vote
0answers
95 views

Mod_Rewrite to show only last subcategory in URL

I have a website with a three-tier hierarchy of categories: Main category> Subcategory> Second Level Subcategory. In the URL I would like to get only the currently selected category displayed. ...
0
votes
1answer
264 views

Wordpress Category url redirects to subdomain

I've a wordpress category - peer. And I've set my permalink settings so that category url is - http://example.com/peer (no /category/ in the url). Problem is I also have a subdirectory called peer ...
0
votes
2answers
3k views

Page permalink redirects to home page

I've recently switched to Linux Fedora, and I moved all my xampp files to my new installation, as well as importing the databases. Now I'm facing an odd problem, a couple of weeks ago I've created a ...
0
votes
1answer
658 views

WordPress pages break with custom permalink settings (theme directory not output)

We have a site under development which works fine locally, however when uploaded to our server using the permalink settings %postname% the correct URLs are rendered in the menu but in all pages other ...
1
vote
1answer
453 views

Redirect all posts permalinks from “.html” to “/”

How can I redirect all posts permalinks from .html to / in WordPress? To be more clear, for example, a post URL like this: http://example.com/%category%/%postname%.html To be redirected to: http:/...
2
votes
1answer
160 views

Rewrite rule never matching

I need to add some rewrite rules for my site. I need to link this friendly URL: www.example.com/site-tool-calendar to www.example.com/site-tool?tool=calendar /site-tool is already a permalink ...
1
vote
1answer
50 views

Custom Permalink

I am trying to make my website so that example.com/profile/?name=john can be accessed in a cleaner URL such as example.com/profile/john/. I have it working so I can access $_GET["name"] but it shows ...
0
votes
2answers
512 views

Remove/hide a specify category-name from the url

I have several categories post: General News Comedy Competitions Culture Gaming Food etc The posts url are in the following format: www.mydomain.com/category-name/post-title Example: www.mydomain....
0
votes
2answers
499 views

Changing WordPress routing to load the same page for different URLs

I'm converting an existing website to a WordPress theme. One of the pages is a gallery that uses JS history.pushState to create unique URLs for loading certain images. E.g. page URL (non WP website):...
2
votes
2answers
314 views

.htaccess - Redirect duplicated post ended in '-number/' to the same url without the -number/

I have many duplicated post and I wanted remove them but Google already indexed them. So the idea is redirect all post with pattern [-number] in the end of the url to the same URL without number www....
1
vote
0answers
64 views

flush_rewrite_rules breaks permalinks

Over the last few month I experienced that about 2-3 times a month the permalinks of one of my site are not working any more. Tested a few things and found out that when executing flush_rewrite_rules(...
1
vote
0answers
69 views

Reoccurring 404 Errors on all subpages

I have a website that, at seemingly random intervals, returns a 404 error for every page on the site excluding the home page. Initially, simply logging into the Dashboard would be enough to fix the ...
0
votes
1answer
231 views

redirect 301 with special character like WIX site “#!”

i want migrate a WIX website to wordpress and i want preserve the SEO score without broken the url of every post-page. but the structure of WIX url is composed by special character like "#!" , now how ...
2
votes
1answer
357 views

Specific URL Rewriting with parameters in wordpress

I'm rewriting a website that was originally in Drupal and has very specific URL's. So, I need to rewrite all the original URL's to the wordpress system + the parameters for my own-written plugins: I ...
0
votes
1answer
87 views

How to rewrite a folder in WordPress?

I'm using "The7" theme and don't want to use the standard Portfolio archive template. I have used the default template to create a page that looks great, let's call it /our-portfolio/. Currently the ...
0
votes
0answers
135 views

Accessible Subcategory URL's pages without using .php hack

I'm attempting to setup a custom URL structure within posts that makes all parents and sub child's accessible, but all attempts have failed with various errors. My category structure looks something ...