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
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
33 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
16 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
1answer
35 views

Add additional non-rewrite .htaccess directives on multisites via mod_rewrite_rules filter

According to the example on Adding your own .htaccess contents via WordPress it's possible to extend the .htaccess file via theme/plugin. for example: <?php function my_htaccess_contents( $rules ) ...
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
132 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 ...
0
votes
0answers
26 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
0answers
76 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
3answers
170 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
30 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
55 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
103 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
0answers
19 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 ...
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/...
1
vote
1answer
59 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
32 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
50 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
49 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
3answers
173 views

404 error on subcategory pages

I have seen some other questions and answers on this but unable to resolve at the moment. I have some categories setup as follows: Blog -- Sub Cat The Permalinks are currently setup with custom ...
0
votes
5answers
103 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 ...
0
votes
1answer
53 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 ...
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
2answers
59 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
61 views

Exclude a WordPress folder from the rewriting rules?

My teammate and me would like to work together on the same project. I am the frontend integrator and my friend is the backend developer. We would like to work in this way (if possible) : 1) I create ...
0
votes
1answer
27 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
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 ...
0
votes
0answers
60 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
84 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 ...
0
votes
0answers
38 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
58 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
88 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
25 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 ...
2
votes
1answer
18 views

Prevent users from browsing through the media galleries

I just realized that when I go to http://www.detroitjewishdirectory.com/event/chanukah-wonderland/chanukah-2014-activities/ I am able to browse through a lot of the images that are in my media folder. ...
0
votes
0answers
13 views

OC under Wordpress - validation

i have installed opencart(oc) under wordpress(wp), i.e., root(here is wp), root\eshop(here is oc). The problems comes once i set seo-friendly url in OC. In wp a custom link is created to refer to oc ...
0
votes
1answer
52 views

.htaccess for wordpress in separate folder

I'm working on a really odd site which has a couple of Magento installs next to a Wordpress install. the folder structure looks like this: /shop (magento) /shop-world (magento) /wp .htaccess I ...
0
votes
0answers
133 views

Image Expires Headers Not Working

I want to implement image expires header, in my wordpress site I tried this code in htaccess <IfModule mod_expires.c> ExpiresActive on ExpiresByType image/jpg "access plus 1 month" ...
0
votes
0answers
108 views

How to hide theme and plugin directory from page source using htacces?

I am using WordPress latest version. Theme name and some plugins name are showing in page source. I don't want to allow visitor to access the information for security reasons. I want to hide the /...
2
votes
2answers
94 views

Which ways can be used to log in to Wordpress?

FYI: This has been also posted here since I'm fairly new to this website and didn't know that the Wordpress part existed. Sorry for the repost. I'm currently trying to tighten the security for a ...
1
vote
1answer
75 views

WP site URL changed to have HTTPS but still homepage does not redirect

I've changed the WP site URL to include https://www & it's been a while. Entire site is correctly reflecting it. But unless I add following in .htaccess, the home page does not redirect ...
1
vote
1answer
49 views

HTTP sitewide, except for: wp-admin, and 2 custom directories

I've tested various snippets in order to achieve the following, but with no success. I don't want to set the whole site to HTTPS at the moment, only 2 specific pages: .org.uk/directoryA/directoryB/ ....
0
votes
0answers
70 views

Rewrite.php .htaccess generating external rewriterule for a different domain

I've been searching the web for a bit now and have not found a clear answer to this question. How can I modify rewrite.php so that when .htaccess is regenerated it creates rewrite rules for an ...
1
vote
0answers
138 views

Multisite theme path rewrite using .htaccess

I'm trying to rewrite the theme path for multiple domains (wordpresss multisite) using separate themes, this is my current .htaccess file, this is allowing each site to use seperate CSS files but not ...
0
votes
1answer
49 views

How To Change the URL of a WordPress Multisite

I'm attempting to pull down and set up a live Multisite in my local dev environment to perform theme updates and fixes before reuploading and publishing the changes. The main site works fine using ...
0
votes
0answers
110 views

Removing or hiding slug/permalink from htaccess

I have this slug that i want to hide for SEO matters. My current slug is: homepage.com/company/companyname All i want is to be: homepage.com/companyname I tried lots for plugins and htaccess codes ...
2
votes
2answers
38 views

Redirect blogpage /blog/abcd/ to /blog/

I want to redirect the url if it contains the string like /blog/abcd.../ to blog listing page i.e. /blog page. I used a to code in htaccess file. Redirect 301 /blog/abcd http://www.example.com/blog ...