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
12 views

How do I add files into a new folder and keep wordpress page /slug/?

We needed a sub-site on our domain so it would look like domain.com/newsite Due to the instructions of a technician looking after the server, I made a new subsite under my wordpress site by the ...
0
votes
1answer
11 views

Htaccess Rewrite

I've a question about htaccess file... I'm configuring a website and all it works fine, except when I change htaccess file. Every time which I refresh the page, wordpress define the default htaccess: ...
1
vote
0answers
5 views

Conflict with Force SSL and Rewrite Rules

A site I'm working on has two security-related requirements which I've been unsuccessful in solving simultaneously. I can satisfy each requirement BY ITSELF, but I'm running into problems satisfying ...
0
votes
1answer
22 views

htaccess doesn't cache my latest news when logout

To speed up my website i'm using w3 total cache and some htaccess . . . it works just amazingly ! Otherwise, big problem, I have on my homepage the latest news being display, when I'm login, it ...
0
votes
0answers
21 views

posts not show after changing permalink [on hold]

I changed My Permalink in setting area in the dashboard menu After changing the permalink, the setting worked and changed the links, but posts content are not showing up and the links go to not found ...
0
votes
1answer
26 views

Permalink for specific page name

I create a new page with post name is 'my-page'. I also have 2 custom query strings. So, the URL will be like: http://domain.com/my-page/?qst1=aaa&qst2=bbb I want the URL like: ...
0
votes
1answer
22 views

.htaccess password protect all but one page

Hi I would like to password protect my entire Wordpress site using .htaccess. All pages except one page which would be viewable to the public. I know there are other methods out there built into ...
0
votes
1answer
29 views

How to modify the .htaccess to force ssl on login and admin pages

I have the following code to force ssl on the login and admin pages via the .htaccess on a the domain example.com <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} ...
0
votes
3answers
160 views

Move wordpress to folder without changing urls

I have an old wordpress installation in root of my website with the following structure: / shows a simple intro /blog lists blog posts /13**/**/**/* shows a specific post (permalink) /contact /about ...
0
votes
0answers
11 views

Protect Uploads if user is not logged in, but avoid images

I have a situation here, where I want to restrict users for view/download media files (except Images). I am currently using method define in this thread How to Protect Uploads, if User is not Logged ...
0
votes
0answers
25 views

Loading index.php contents which located outside blog folder for post single page

I'm creating blog page as WordPress for my static PHP website. When blog page URL changes to pretty permalink (example.com/blog/my-post-page), loading contents (not redirecting to index.php, only ...
0
votes
0answers
32 views

.htaccess is reverted to default anytime a page is loaded - subsite broken

I have some major problems with my multisite-install. 1) When i try to make changes in .htaccess to what the Codex says (http://bit.ly/1HtCLks), it changes back to the default .htaccess file as soon ...
0
votes
0answers
23 views

Subsite admin in redirect loop, resources on frontend are all 404 and .htaccess changes back

I have a Multisite with three sites. The main site isn't affected by any of this, but the subsites are both broken. 1) When accessing wp-admin on one of the subsites, I get a redirect loop. 2) When ...
0
votes
1answer
45 views

Changing post per page causing 404 for pagination. Need a redirect htaccess rule

i changed my wp theme and i changed the "post per page" wp setting on "reading"now because i want to display more posts on the archives pages. i m using pagination on the archives so a lot of pages ...
0
votes
0answers
16 views

htaccess workaround

I am developing a wordpress site in a subfolder for a client at peterpanos.com. His existing site (static html) is utiilizing the following htaccess script to switch to some kind of mobile ...
0
votes
1answer
23 views

htaccess old php pages to new wordpress ones

I'm redesigning a site and converting to wordpress. I want to redirect the old pages to the new ones. Also, wordpress is installed in a directory, but viewable as if it was in the root. So the ...
0
votes
0answers
43 views

Remove trailing slash after .html extension

my permalink settings are as follows: sitename/%postname%.html I have removed the trailing slash at the end. I am also using a plugin called "Remove slug from custom post type" to remove the custom ...
0
votes
0answers
18 views

After move to new host, site works but login fails

I moved a wordpress installation I "inherited" to a new host without too much issue. The folder structure remained identical, and once I changed the db connection information, the website displays ...
0
votes
2answers
70 views

How to protect htaccess so it can't be overwritten?

I'm having a problem where Wordpress is periodically and randomly destroying the htaccess file and setting it to zero bytes. When it does this, the site of course breaks until permalinks are manually ...
0
votes
0answers
46 views

custom permalinks do not work: page not found

I am developing my website in local with wamp server and wordpress i am using a w7 OS and running wamp server with apache and my sql. I have a problem with permalinks. So far, i developed the pages ...
0
votes
1answer
103 views

Block access to wp-admin

I'm attempting to use a .htaccess file to block access to the wp-admin folder. I've read through the Brute Force Attacks doc (https://codex.wordpress.org/Brute_Force_Attacks) and I've added the block ...
1
vote
2answers
362 views

How to stop wordpress from changing default .htaccess permissions to 444

I installed my website using an installer - fantastico for a quick install. Just a few days ago, I started getting a weird error in w3tc plugin and it would ask me to update via ftp as you can see ...
0
votes
1answer
25 views

Error message on blog posts only on my local environment [closed]

I copied all my WP files from the server to my local WAMP as a dev-environment. Everything works smoothly except when viewing a blog post. I get a good output of all the ...
0
votes
2answers
32 views

How to customize sub-URLs in a wordpress website (.htaccess)

I have a regular business website that I built on Wordpress - www.example.com I have a blog page in my website under - www.example.com/blog When viewing a blog post it looks like this: ...
3
votes
2answers
37 views

Having a custom post slug that clashes with an existing directory

I'm currently transitioning a website from their existing CMS to WordPress. I have a custom post type of 'Episodes', with a URL of myurl.com/episodes/ There is also an existing directory at ...
0
votes
1answer
13 views

Proper way to set up rewrite with Wp

This seems to be modding my .htaccess with every page view. What is the standard way of setting up a rewrite? This is what I have so far: if(!function_exists('some_rewrite')){ add_action( 'init', ...
0
votes
0answers
37 views

Subdomain redirecting to WP-Login with SSL

Wordpress is installed in the root on my server and i have a subdomain/folder with another application separate from wordpress. When I try to access it via HTTPS: //subdomain/admin it redirects to my ...
0
votes
0answers
86 views

URL masking of subdomain to main domain using .htaccess

I am facing with the following technical challenge : We have a main website running on wordpress with content in local language (Greek) on the domain www.adomain.gr We want to set up a second website ...
0
votes
2answers
43 views

Fresh wordpress installation in sub-directory not accessible

I install fresh installation of wordpress in my server sub-folder call blog. So in the beginning I access the site mydomain/blog and it works perfectly. But when I changed the permalinks settings ...
0
votes
1answer
54 views

Custom permalink structure with %postname% in front of domain name

We are running a software review website, and we have a very large amount of reviews currently done, and we would like to restructure if its at all possible. I would like to know if there's a chance ...
0
votes
1answer
18 views

Have subdirectory name act as $_GET or $_POST data

I have a page with a list of items that I want to have my users cycle through without a page load happening between each item. This works. However, I also want each item to have it's own URL. I'm ...
0
votes
0answers
58 views

How to properly force https and www on multisite

I have a wordpress multisite in network mode via wp multi network plugin. I've been trying to use .htaccess rules to force all urls to be https://www. eg: https://domain.com to ...
0
votes
2answers
97 views

Redirect homepage /page/1/ to /blog/page/1/

After switching from the homepage displaying latest blog posts on urls /page/1/ /page/2/ etc to a static front page with the posts displayed on /blog/page/1/ we would like to redirect the original ...
0
votes
1answer
49 views

Error:406 not acceptable

I have a wodpress site, and I have submitted it to google webmaster tools. When I search on google by my site name, the results come, and on clicking the searched result, I can open the website on my ...
0
votes
1answer
72 views

Pagination problems with multiple custom post type archive pages

I'm at the end of my tether now. Really need some help! Here's the setup... I have 2 custom post types in my functions.php: // Register the events post type function events() { $labels = array( ...
0
votes
2answers
34 views

Configuring Home Page Address

I though this was a simple issue. When i type in the browser: www.example.com it changes to: www.example.com/home/ This delivers the proper contents from the Home page, but i wish to stay showing ...
0
votes
2answers
140 views

Wordpress installed in root, need second in subdirectory with different domain

God, this little problem drives me crazy and I really hope that you'll help me how to figure it out. I searched over all previous threads and in the codex of wordpress, I find some close situations ...
0
votes
1answer
48 views

Multisite, different domains, optional subdirectory, and htaccess

Here's the situation: Configuration I have a WordPress multisite setup where different sites are on different domains. Some of those sites are contained in a subfolder in their domain, some are not. ...
0
votes
3answers
177 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/? ...
0
votes
0answers
32 views

Wordpress Apache Redirect URL to another .htaccess

Hi I renamed the site Permalink: http://www.adress.com/tutorial/faq/ to Permalink: http://www.adress.com/tutorial/start/ in the Wordpress Edit Page Menu. Now the URL ...
0
votes
1answer
21 views

How Can I Use a Custom AccessFileName?

I have a need to have a custom AccessFileName setting in my virtual hosts, however it appears that save_mod_rewrite_rules function assumes that .htaccess is the name for everyone. How can I override ...
1
vote
0answers
17 views

Dissolve Multisite while making site #5 the main site?

I have a very unique situation, I was also unable to find a solution, but perhaps someone else has experienced something like this before. A client of mine has a multisite set up, however they now ...
0
votes
0answers
282 views

removing index.php IIS 7.5 webconfig

I would like to remove index.php from my permalink. I am using Codeigniter website. I have passed the requirements to use pretty permalink: -PHP Version 5.4.27 Codeigniter -IIS 7.5 -URL Rewrite 2.0 ...
0
votes
1answer
110 views

htaccess mod_rewrite not working

I'm pasting my full htaccess file, for clarity, as to be honest, I'm not entirely sure if I have to include my non-default directives inside the <IfModule mod_rewrite.c> bits or separately ...
4
votes
1answer
145 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
3answers
123 views

Rewrite URL in address bar for a specific page [closed]

My client has purchased a new "vanity" domain name that they want to use to forward peoplle to a specific page I've set up on their wordpress site. I've set up web forwarding on the new domain so ...
0
votes
1answer
95 views

404 not working on main site on multisite

I currently have two sites(main site and sub site) created with multisite function. Recently, i noticed that the 404 error page seems not to work on main site. No matter what error url i type to test ...
0
votes
1answer
24 views

Do rewrites added with add_rewrite_rule() persist after plugin deletion?

I am developing a Wordpress plugin and need to ad a rewrite url using add_rewrite_rule(). That does work. But what happens when my plugin is deleted? Does Wordpress cleanup the htaccess or do I need ...
0
votes
0answers
96 views

.htaccess 301 redirect conflict with plugin “Wordpress Https”

I am using WordPress 4.1.1 and the Avada Theme on one of my websites and just recently decided to go with an SSL certificate. I got everything working with the help of "WordPress Https" plugin until ...
0
votes
1answer
39 views

Duplicate WordPress site to subdirectory but use same db?

I have tried to just copy the whole root folder into a subdirectory. I understand the .htaccess file has to be changed. But can't get it to work right. Is it something more than changing the htaccess ...