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
2answers
118 views

How to remove category from wordpress url?

I am new to wordpress so i am facing a problem in removing /category/ from wordpress URL http://domain/category/category-name So i would like to know how to remove /category/ from the url. I have ...
0
votes
0answers
37 views

Can´t access non-wordpress subdirectories as wordpress overrides them with a 404 error

Hi everybody at the forum, I am new here and this is my first question. I have beed reading this thread, the very first answer by Elpie (Cannot access non-wordpress subdirectories as wordpress ...
0
votes
1answer
73 views

How do I remove a word from a url in Wordpress using .htaccess?

In the site I'm building there is a post-type called "Focus". Since they need to url to be like www.mysite.com/focus/page-post-name I have the post type slug as "focus". Of course the archive page is ...
0
votes
1answer
55 views

Making WP Admin Folder accessable JUST under a different link

I read all your post regarding renaming and moving the admin folder a few times but I still didn't find the real answers to my question! I got a page, lets say available under mysite.com ,the real ...
0
votes
0answers
22 views

Cannot access subdirectory subpages

I am working on a wordpress site for a client, who has a 2nd install in a subdirectory. When I try to view a subpage on the 2nd install (domain.com/folder/subpage) I get the root directory install's ...
0
votes
1answer
114 views

Wordpress JSON API restrict to specific domain

I have installed and activated the Wordpress JSON API (http://wordpress.org/plugins/json-api) in my self hosted WP site. Now my site content is open to the world via this API in JSON format. But, I ...
0
votes
1answer
51 views

How to redirect multiple subfolders back to root domain?

Due to search engine crawling errors, I need to redirect websites of non existing subfolders to a reachable website. This is what is currently leading to 404-errors: www.domain.tld/subfolder1/tag1/ ...
0
votes
0answers
21 views

Wordpress custom URL htaccess not working

I am having a URL in wordpress which needs to be changed. http://www.somedomain.com/site/other-jobs/view/?action=view&title=php-developer&JOB_ID=158 I want to make this URL to look something ...
0
votes
0answers
24 views

Disappearing items in menu

I have problem with disappearing items in menu. I added php_value max_input_vars 7000 php_value suhosin.post.max_vars 7000 php_value suhosin.request.max_vars 7000 to my .htaccess but it doesn't ...
1
vote
1answer
35 views

Allow Permalinks to Work with and without Hyphens

Is there a way that I can change my .htaccess file to allow the user to go to a permalink with or without the hyphen? For example: I have a page: http://example.com/parent/two-words To get to that ...
0
votes
1answer
69 views

How to watermark wordpress images from wp-content/uploads folder with htaccess and php?

I have a Wordpress website, due to some limits i need to have originals of the photo at the serverside, but watermarked ones on a frontend and with direct opening of the photos. I'm using Frontend ...
1
vote
2answers
177 views

How can I make my .htaccess file writeable by wp-admin?

My ISP changed the hosting for my Wordpress blog and everything stopped working. There was a DNS issue but they resolved that, but then every page apart from the home page returned a 404 error. When ...
0
votes
0answers
16 views

Rename wp-admin [duplicate]

I want to rename the admin URL 'wp-admin' to e.g. 'admin'. I set a rewrite rule in the .htaccess to acces the admin login: RewriteRule ^admin wp-admin [NC,L] That works but I can still use /wp-admin. ...
0
votes
1answer
56 views

How To Rewrite WordPress Pages URL Only?

I have my WordPress pages URL as www.example.com/WP/sample-page and I want to make it like www.example.com/WP/p/sample-page.html For this purpose I used a Plugin name "Pages with extension" and it ...
0
votes
1answer
30 views

Change Admin URL

I changed my Wordpress directory structure quite a bit. Here's what I have: define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] . '/wordpress'); define('WP_HOME', 'http://' . ...
0
votes
2answers
57 views

WordPress 302 Redirect to Holding Page

Once again struggling with htaccess. I've successfully redirected the home page to my holding page with the following rule but it's not applying to child pages for some reason ...
0
votes
0answers
26 views

URL-parameters and RewriteRule gives 404

In Wordpress I have a template (lets call it template.php) that has content on the following page: example.com/template This page should be able to handle URL-parameters like. I got this to work. ...
1
vote
1answer
131 views

Permalinks not working with Vagrant

I am using Vagrant to build up a little Wordpress development VM. When I select permalinks (postname) then the page from an article doesn't load. However, when I select the standard link (i.e page id) ...
0
votes
0answers
16 views

WordPress MU - pages to other domains

I have a problem with Wordpress Multisite. Does somebody know how to redirect page address to other addresses?? I have for ex.: http : / / serv12349 . local . com / page_1 =====> http : / / www . ...
0
votes
0answers
42 views

Add trailing slash to URLs not found

So I noticed that Wordpress automatically adds a trailing slash to URLs. I also noted that it doesn't do this for URLs that aren't found on the server. Why this probably is logical. Is there someway ...
0
votes
0answers
21 views

URL rewrite results in a 404, but everything should work!

So I modified this code that I found elsewhere and stuck it in a plugin. The plugin works; I can see the .htaccess file updated when I hit save on the permalinks page. add_action( 'init', ...
0
votes
0answers
61 views

403 Forbidden error when using the wp_login_form function

I use the function wp_login_form twice in my site for a simple client login. However, suddenly the problem started and every time I use it I receive this 403 forbidden error. My .htacess looks like ...
0
votes
2answers
58 views

What happens when permalink settings are updated?

I have to identical copies of the same site on two different webhosting companies (besides the actual domain of course). One of them works all the time with pretty permalinks and the other works fine ...
0
votes
1answer
69 views

How to redirect non existent pages/posts in wordpress using htaccess

How can I redirect non existent pages/posts in WordPress using only .htaccess file? Here is my code: <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteBase / ...
0
votes
1answer
36 views

How do I Redirect Tags from Old Joomla Site to New WordPress Site?

I've recently converted a site from Joomla to WordPress. I'm down to polishing up the old Joomla site links that don't match the WordPress structure, and I've run into a problem where I need some ...
0
votes
1answer
111 views

Modify the .htaccess file

I have a very simple problem: I want to modify the .htaccess file. It seems I'm not the only person and I've seen the other questions and googled the issue. Nothing helps. Something keeps overwriting ...
11
votes
2answers
856 views

How to create custom 401, 403 and 500 error pages?

When a 404 error is encountered, a 404.php template file can be used to render a custom error message. This is documented in the Template Hierarchy article. My aim is to create custom error pages ...
0
votes
1answer
73 views

WordPress site displaying 404 for any page apart from index

My WordPress site is returning a 404 not found error on any page apart from the homepage and /wp-admin. I have no absolutely no idea why this is. My Permalinks are set up to use ...
3
votes
3answers
112 views

How to Block Access to Standard Login Flow and Comment Flow

I've set up custom flows on my Wordpress blog for login, signup, and commenting. I would like to password protect the standard login flow so only I can use it, and block access entirely to the ...
1
vote
1answer
71 views

Apache Fallback instead of add_rewrite_rule

My requirement is to do SEO Friendly URL for an existing site in Wordpress. For example, Current URL: http://test.com/test/?pid=19971 that is the page "test" is rendering the data from some custom ...
0
votes
1answer
77 views

Temporary Infinite Redirect Loop

I have written a custom WordPress plugin for a certain site (this is not a public plugin, it is private written for that specific site). The plugin reads RSS entries from other sites, and then for ...
1
vote
1answer
515 views

How to add custom rewrite rule to .htaccess?

I want to add a custom rewrite rule to my .htaccess file using a function inside functions.php The rewrite rule I want to add is as follows: RedirectMatch 301 ^/author/(.+)$ http://name-blog.com/$1 ...
0
votes
1answer
40 views

How can I create a private site that is inaccessible from the outside?

I need a safe place where I can store data about projects that I am working on. This data includes text and files (pictures, sound and video). I want to create a private "blog" for this purpouse that ...
0
votes
0answers
22 views

Does WP suppresses .htaccess if permalinks are disabled?

I would like to use a .htaccess file, but still use the default link structure of WP. I didn't turn on permalinks, but did create my own .htaccess file. To my surprise, the file is being completely ...
0
votes
2answers
2k views

Force HTTPS using .htaccess - stuck in redirect loop

My Wordpress website is located at example.com/wordpress and I need everything inside to be accessible only using SSL. I've created a .htaccess rule that redirects http -> https: RewriteEngine On ...
0
votes
0answers
53 views

Redirect ALL subfolders to subdomains automatically

I've read several topics about redirecting some single pages to subdomains. There aren't a lot that explains this well and all requires me to manually edit the htacccess or create some folders for ...
0
votes
1answer
125 views

Troll the hackers by redirecting them

My website is getting somewhat popular, and with the it's increasing popularity there's an increase in the hackers. Last night I visited my security logs and found that everyday approximately 10 ...
1
vote
1answer
48 views

How could a .htaccess with authentication suddenly appear or change?

When trying to mark a comment as spam, I was presented with a basic-htaccess login. I couldn't login and then I remembered I do not have a basic login: the only thing my .htaccess in the wp-admin ...
1
vote
1answer
47 views

Redirect an old link to new site homepage [closed]

I need to redirect a single link www.abc.com/blog/?p=123 to www.abc.com/newblog/ I have used: RewriteRule ^blog/(.*)$ http://www.abc.com/newblog/ [R=301,L] It is redirecting all sorts of links but ...
1
vote
0answers
58 views

Accessing Subdirectories in WordPress Install

I have scripts that are in a subdirectory of my WordPress install folder. They are on the same level as the /wp-content/ and /wp-admin/ folders. I'm running them as form processing but I've got the ...
1
vote
0answers
21 views

Is there a directory my plugin can write files to that cannot be viewed via the browser/url?

I want to restrict access to some files uploaded via the admin interface but I cannot rely on the ability to use .htaccess (could be turned off, or they might be using a non-apache web server). I ...
0
votes
0answers
42 views

Issue with permalinks for custom post type

I have a little issue here... When i'm using default permalinks, everything works great, but when I set up %postname% permalink in settings, my template with custom post type is not loaded. ...
1
vote
1answer
311 views

Wordpress multisite subdirectory redirect infinite loop issue

Any time I create a new site on my multisite install, I get an infinite loop redirect when navigating to that site's admin. I'm using the default htaccess supplied by WP for my subdirectory install. ...
0
votes
0answers
46 views

How to Display HTML Site Images in Directory Above WordPress Installation

I have WP in a subdirectory of its own. I have two .htaccess files. The first is in the domain root: RewriteEngine on RewriteCond %{HTTP_HOST} ^automaticallynow\.com$ [OR] RewriteCond %{HTTP_HOST} ...
1
vote
1answer
44 views

Redirect blog archive into certain format

My blog archive URLs were like: http://example.com/2014/03 I changed my site's permalink from /%postname%/ to /%postid%/%postname%/, and using Redirection plugin, I set a redirection like: and ...
1
vote
1answer
19 views

How to secure files based on format and word in file name with wp-config or htaccess?

I have a wordpress site that I would like to secure specific files in the uploads directory, so that they can only be accessed by logged in users. The files either have the word "oneperson" or ...
1
vote
2answers
312 views

Nginx rules for subdomain multisite install (Bedrock)

I'm trying to move an existing Bedrock based multisite instance to nginx and am having difficulty getting a set of nginx rules to mimic the original .htaccess. Bedrock places the crux of the files in ...
0
votes
0answers
13 views

Wordpress double post name distinguish by term [duplicate]

I am working on a store locating Wordpress template where I have 5 categories for services. In each category I have 500 cities. I have rewritten my url from: http://www.website.com/post-type/post ...
1
vote
1answer
40 views

(Bluehost) navigating to the dashboard via mydomain.com/wp-admin/ results in directory listing

I recently had my WordPress blog's domain reassigned as the primary domain on my BlueHost account. The blog is in a sub-folder of public_html/. Below is the contents of the .htaccess file I ...
1
vote
1answer
93 views

Only default permalink is working mod_rewrite enabled

My problem is in my wordpress site only default permalinks is working.. When I change permalinks all pages become not found.. only home page is showing. When I change permalinks to postname .htaccess ...