The most common name of the per-directory settings file for the Apache server. WordPress stores the mod_rewrite configuration for "Pretty Permalinks" here. [url-rewriting] should be used for the WordPress rewrite system in general, [mod-rewrite] when you talk specifically about the Apache module.

learn more… | top users | synonyms (1)

0
votes
1answer
1k views

multisite 404 error for subdirectory

I am attempting to create a multisite as a subdirectory and I have followed the network instructions to the 'T'. The multisite seems to be set up correctly, the .htaccess and wp-config.php files seem ...
1
vote
2answers
124 views

Permalinks: Page Not Found

When I open the newly created page in WordPress I get page not found but when I reset the permalinks to none http://localhost/?page_id=6 opens normally . Even with this permalink it works : /index....
4
votes
2answers
548 views

Combining Multiple Taxonomies in one URL

I'm creating a complex site with a product catalog with two custom taxonomies. They are Brands and Types. Brands - Canon - Toshiba - HP Types - Printers - Scanners - Multifunction I need a page ...
0
votes
0answers
76 views

500 Internal Error appears after adding the codes in .htaccess file

The issue is: I have a Wordpress site running on 4.3 and using the theme from Envato Market (POND v2.0). And I ran a SEO test using this website (SEO Checkup Test). After going through the tips on ...
0
votes
0answers
59 views

Dynamic page loads in browser, returns 404 to curl and GWT

I have created a dynamic page that displays content based on the US state name taken from the URL. I created the page in WP with a title of "CDL Manual PDF" and it has the URL http://dev.cdlmanuals....
0
votes
0answers
49 views

RewriteRule to hide Wordpress folder from URL in some cases. How to?

I'm trying to obtain hide wp-content folder from url in this way, to make it easy for visitors: permalink: mysite.com/wp/this-page-en required address: mysite.com/en/this-page The www folder ...
0
votes
1answer
77 views

Dynamic URL, not a physical page within the database

Knowing how WordPress essentially processes page requests (through index.php and .htaccess), I'm trying to figure out the best way to "ignore" a certain permalink structure, or rewrite it in such way ...
1
vote
0answers
51 views

Wordpress 4.4 old permalink redirect

i have a question for you and i hope you can help me out. I have a site with over 500 broken links due to an old permalink i changed 3 year ago. I know i could use a plugin for that (if you recommend ...
0
votes
3answers
1k views

Cannot login to Wordpress site after changing .htaccess for security purposes

This is the original .htaccess on my local computer # Block the include-only files. RewriteEngine On RewriteBase / RewriteRule ^wp-admin/includes/ - [F,L] RewriteRule !^wp-...
3
votes
0answers
29 views

WordPress blocking/preventing viewing of .cgi file in subdirectory [closed]

I have a .cgi file, /data/displayQuery.cgi, that WordPress is showing a generic "Page not found!" error page for. I have my .htaccess file configured to not rewrite any file in the /data subdirectory. ...
1
vote
1answer
93 views

Site loads very slowly (4-5 minute load time)

I'm hosting a WP site on a VPN so I'm doing all of the server management. A while back, I simply renamed my WP folder so that it would be inaccessible. Now I need it to be accessible again and so I ...
1
vote
0answers
185 views

How to use https on one page only?

Shortly: I want my WordPress to respond in https on exactly one specifc route. Everything else should respond in http. Is that even possible in WordPress and how to do it? Details I have a single ...
0
votes
0answers
31 views

500 error after WP homepage url changed

So, I have error 500. I tried to replace with old htaccess file, but Wp don't let me login cause I have offline mode. How can I set wp url back? SOLVED Add these two lines to your wp-config.php, ...
0
votes
0answers
34 views

Wordpress Multisite htaccess redirect loop

I have a multi-site instance of Wordpress setup for a series of related websites. These work on a sub-directory approach (e.g. domain.com/team-events/). Within one of the sites, I have created a ...
0
votes
0answers
17 views

Can't get URL rewrite to work for participants database plugin

I am fairly new to WordPress, but here we go. For the past 18 hours or so, I have tried every method I have found on the internet in an attempt to force the url example.com/file/?pdb=3 to become ...
0
votes
0answers
22 views

WordPress removing query strings

I run custom scripts and plugins with GET parameters/query strings. Recently, when I try to access a page with query strings, something happens and the query string gets dropped. This, however only ...
0
votes
0answers
21 views

Add custom post name only with page URL

The problem I have is that the "travel destinations" are pages and the "accommodations" for each destination are custom posts, therefore the permalinks break. My destinations here: example.com/...
0
votes
1answer
155 views

404 with post name permalinks

So, I have a pretty common problem - I recently upgraded to Ubuntu Trusty Tahr from Precise, and I had to upgrade apache as a result. Now, my wordpress site is accessible, but I am unable to access ...
18
votes
8answers
46k views

Cannot access non-wordpress subdirectories as wordpress overrides them with a 404 error

I refer to this question previously asked and not suitably answered: Wordpress overriding actual subdirectories and also Non "Wordpress" pages/code getting 404 error. I have the same ...
0
votes
0answers
28 views

How to redirect deleted pages

I had several posts about individual books, which I combined to a post featuring all the books together. Now I want to delete and redirect those individual book posts to the combined post. I just ...
0
votes
3answers
183 views

Redirect - remove custom query string

I have a problem with some pages urls. The pages url structure is like this: www.example.com/wp/custom-taxonomy/somepagename/?token=12345 I want that when i acces the url from above to redirect ...
0
votes
0answers
87 views

Disable Direct Access To Image Not Working

As my website is based on the product designing website, where the user will design printing products and they can buy in my website, So i almost protected the image in all the ways, like layer over ...
0
votes
5answers
115 views

How to redirect all 404 in a Wordpress subdirectory to the index.php of subdirectory?

I have a folder with name: wordpress_install/dev/abc Now, I have created a index.php in abc folder and I want all the urls like: wordpress_install/dev/abc/asdfasdfsdf (a 404 page) to be ...
1
vote
1answer
47 views

How to host unrelated pages on WordPress domain

Is it possible to have separate pages hosted on a WordPress site? For example, say I have my site www.website.co.uk, which has my WordPress blog and all that. Obviously it'll have things like www....
0
votes
0answers
32 views

Remove /category for multisite

I need to remove /category word from URLs on Wordpress multisite: This code works fine for single Wordpress site: RewriteRule ^category/(.+)$ http://www.domain.com/$1 [R=301,L] But it doesn't work ...
0
votes
0answers
59 views

.htaccess Redirect with Wordpress in a subfolder

I am going to try to explain this as best as possible. I have a wordpress installation at www.Domain.com/careers/ Which is great, and really not a problem. The main problem is, i'm moving some ...
0
votes
2answers
110 views

.htaccess Non-'www' to 'www' Subdomain Redirection Only Works for Homepage

I would like a WordPress site to redirect all URLs to the www subdomain. Using the .htaccess configuration below, the homepage is properly redirected (i.e. visiting example.com/ redirects to www....
0
votes
1answer
52 views

How does the flow of htaccess files in sub-directories work

I have found a solution to this problem but it doesn't make sense to me and I'm hoping someone can explain it to me so I can understand. I have wordpress installed on the root directory (/public_html/...
0
votes
0answers
20 views

Pagination redirection in WordPress

I had a blog website in a custom CMS. I recently re-developed the website in WordPress. The old website had pagination urls like "?page=2" But WordPress shows pagination urls like "/page/2" Now what ...
1
vote
1answer
62 views

How to hide login form if basic authentication fails?

I have recently been learning how to harden WordPress using the steps outlined on this page. When I get to the stage where I use the HTTP Basic Authentication (that's the one where the browser pops ...
0
votes
1answer
20 views

How to rewrite a page url

I added a page to my WordPress, I wanted to rewrite the url of the page to a more user friendly one . https://localhost/wordpress/page?name=name+of+the+page To : https://localhost/wordpress/page/...
0
votes
1answer
34 views

Can't access WordPress site in subfolder possibly because of .htaccess redirect from root installation?

I currently have one Wordpress installation in the root directory. I have now uploaded an entirely different (and second) Wordpress installation in /beta/ - connected to a second and separate ...
0
votes
0answers
52 views

Wordpress wp-admin redirect_to points to URL with folder name

I am having problem with wp-admin where the redirect_to variable holds my wp-admin URL with the folder name included in the URL. When I remove it, the redirect works good. The problem occurs when I ...
0
votes
1answer
28 views

Url wordpress rewrite

In wordpress i have created a custom page called mail.php inside a folder form_support, my original url is http://exemple.com/form_support/mail.php i created htaccess file with rewriting rule : # ...
0
votes
1answer
57 views

index.php not loading in main folder of wordpress

I just installed [first time] WordPress 4.3.1, but I was facing the problem with it so I downgraded and installed 4.2.5 and facing same problem. Problem: index.php is not loading, I clicked on link ...
13
votes
3answers
10k views

Moving a WP Multisite to a subdirectory

Firstly, I've read a number of posts on this process. However, for various reasons, the process remains difficult to implement or troubleshoot for lack of even abstracted examples, or maybe too ...
0
votes
2answers
62 views

Rewrite rule not working

I have a page on my wordpresss with url "/sca". I want all traffic from "/sca/project_0" to direct to "/sca?urn=project_0". I added a rule to my .htaccess file but it is not working. I don't think ...
0
votes
0answers
20 views

wordpress blog redirect loop

I haven't installed any new plugins, but suddenly get redirct loop in my blog. I have my SITE Address & Wordpress Address set to same thing. https://www.blaahblaah.com/ I do not have a ...
1
vote
0answers
14 views

Locked out of admin and some pictures don't show after failed SSL installation

in a bit of a pickle here as I'm not sure what has caused the issue so hopefully somebody here can help me. So I purchased the SSL certificate and but the folder with the files in onto my website. I ...
3
votes
1answer
92 views

WordPress Multisite Login Access

I have a multisite installation and use an .htaccess directive to close access to wp-login.php. <files wp-login.php> errordocument 403 http://example.com/restricted/ order deny,allow deny from ...
0
votes
0answers
63 views

WP .htaccess to ignore files outside folder

I am using cPanel, and in my /public_html folder I have installed WordPress. Other subdomains are added in the same /public_html where WordPress is installed, e.g. /public_html/folder, /public_html/...
0
votes
1answer
88 views

Override 404 page with htaccess

I currently have a 404.php page from a certain theme I'm using but I would like to override any WP foncutionaly regarding 404 errors. I would like to set a 404 error handler via my .htaccess but for ...
2
votes
2answers
1k views

301 redirect not working through .htaccess

I found this little trick http://css-tricks.com/snippets/htaccess/301-redirects/ to redirect my old Wordpress domain to my new domain with the path included. I run a test on my local copy and ...
0
votes
0answers
40 views

Multisite /files/ URLs broken after server move

The file urls of all sub sites in my multisite install have stopped working after moving to a new server. The move was a straight site clone from WHM to WHM, so nothing has changed really. The new ...
0
votes
1answer
64 views

Overwrite Wordpress's URL rewrite not working

What I'm trying to do it's pretty much simple, but it's not working and I don't know if it's a Wordpress rewrite or I'm just doing it wrong. What I have is this url: http://www.example.com/...
0
votes
0answers
31 views

How can I write the following URL in wordpress

I am working on a project, and one of the biggest parameters was that we keep existing data and URL structures intact. the decision was made long before me to switch from an old, crappy codeignitor ...
0
votes
0answers
97 views

url redirect to another url whilst keeping original url

I have a wordpress site (mysite.co.uk). I also have another add-on domain (mysite.fr) pointing to the wordpress site root. I have pointed this domain (mysite.fr) to this page - http://mysite.co.uk/...
0
votes
0answers
13 views

SSL doesn't deliver parts of Wordpress Administration Module

I have a very strange problem in my website. Let me figure it out: Firstly I have an SSL website https://example.com when I log in into /wp-admin i can't see some features like my Media Library or my ...
0
votes
1answer
26 views

Ignore postname in permalink

I want to set my permalink as: www.example.com/category/postid/postname But I want WordPress to ignore the post name at the end, because I may change it later. How can I do it with .htaccess, or ...
0
votes
1answer
10 views

Installing wordpress on subdirectory 2 levels down

An unusual one for you and I appreciate how ridiculous this set up sounds but It's currently what I've got to work with so here we go... I have a joomla website set up on www.myjoomlasite.com. I am ...