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
4 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
19 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
12 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
16 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
2 views

Wordpress Multisite and a php website on same server

I plan to move my local multisite instalation to a live server but also have a another php website running from a subdirectory on the same server (account). For instance, wordpress in root directory ...
0
votes
0answers
10 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
12 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
36 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
29 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
39 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 ...
0
votes
0answers
76 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
24 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
18 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
33 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
12 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
25 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
59 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
31 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
45 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
12 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
39 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
74 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
33 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
53 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
32 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
67 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
37 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
132 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
23 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
16 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
130 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
59 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
126 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
72 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
57 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
19 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
80 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
33 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 ...
0
votes
2answers
129 views

301 Redirect Loop

I have wordpress site hosted on openshift say example.com. I am redirecting example.com to www.example.com (non www to www). I have created alias for www and non www version and updated my cname with ...
0
votes
1answer
19 views

Allow arbitrary text after page URL

I'm trying to add a page that is able to display different information from a database based on the URL. http://example.com/page/ retrieves the page. I want ...
0
votes
0answers
258 views

View file but prevent from DIRECT URL ACCESS?

wordpress root folder .htaccess RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://(www\.)?SOMEIP [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?SOMEIP.*$ [NC] RewriteRule \.(pdf)$ denied.php ...
0
votes
1answer
321 views

Wordpress Page Not Found if Permalink Settings is Postname

Uploaded code on staging server. in localhost everything is working well but on staging I can login to admin pabel but can not see any page on frontend. When any page is accessed it says The requested ...
0
votes
0answers
56 views

404 Page not found error - what messed up the permalinks?

Today I encountered an interesting problem on one of my WP blogs. Everything was working fine, until URL broke. The main page was loading correctly, as well as the admin dashboard. The problem was ...
0
votes
1answer
283 views

Redirect Image Url to a page via htaccess

I am trying to redirect Image Urls to a page. I have used 301 Redirection plugin, but that doesn't seem to work. For ex : http://mywebsite.com/wp-content/uploads/2015/02/Contestant-11.jpg should ...
0
votes
0answers
94 views

Wordpress Polylang - Use same url slug on different languages [closed]

Just like this topic, I'm trying to create two pages with the same url, like this: domain.com/pt/downloads domain.com/en/downloads But it seems like polylang doesn't support this. Is there ...
0
votes
0answers
64 views

ReDirect subfolder link to another sub-folder and force SSL

My wordpress is installed in a subfolder, for example: test, so my urls look like http://example.com/test/product/buy-product-a/ etc.. Now I have installed another wordpress in subfolder, for ...
0
votes
0answers
37 views

Custom Taxonomy/Post Type permalink rewrite

I am trying to rewrite my permalinks to make them flow better, but the permalinks keep throwing a 404 not found. Original permalink structure: example.com/video/chapter1 Re-written permalink ...
1
vote
1answer
78 views

Custom url for a single page

Created a page and the link is like the following http://www.demo.com/?page_id=1081 need to be like the following http://www.demo.com/phones I need this structure only for this page .So i don't ...
0
votes
0answers
333 views

Getting a 500 internal server error ONLY on wp-admin/options-permalink.php

I have access to the admin panel, and everything works fine. I can click settings->reading and change anything I want to. But if I click settings->permalinks I get a 500 internal server error. Here's ...