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

Missing visual editor after placing a redirect rule into the .htaccess file

My blog (blog.mywebroom.com) isn't showing the visual editor whenever I try to edit or add a new post. I tried a whole host of solutions, except I couldn't figure it out. The editor disappeared about ...
0
votes
1answer
21 views

Using subdomain as primary domain

I have a dev site at sub.example.com. Instead of migrating the dev site to the root folder, is it possible to do something similar to this but using a subdomain instead of a subdirectory?
0
votes
0answers
15 views

Redirect all multisite uploads to single folder

I have a network of multisite blogs which much operate separately for reporting and small functional reasons, but which share a lot of the same data and imagery. I am looking for a way to redirect ...
0
votes
1answer
14 views

How do I reset a rewrite?

I made a mistake in writing a previous rewrite in .htaccess. How do I reset it? My home_url = http://basicsourcemassage.ca/bsmassage My site_url = domain name All pages work fine except for the ...
0
votes
0answers
19 views

block seacrh engines for all pages EXCEPT homepage

I have a question. Most of my site is password protected, so it is not indexed by search engines. In other words, they don't show up in searches - this is good. There are, however about 40 or so ...
0
votes
1answer
16 views

Custom permalink structure only saves with index.php inserted

So I'm having this weird issue on the dashboard where custom permalinks only (default, day and name, month and name etc. those all work fine) doesn't save. I can choose the radio button and click ...
0
votes
0answers
23 views

WordPress permalinks with Windows Server IIS6 - without ISAPI access

I'm having trouble to export the website to my client hosting . . I get an index.php in the url all the time, I've research about it, change the permalink custom structure to: /%postname%/ and add ...
-1
votes
1answer
32 views

Custom Search only for my Custom Taxonomy Page - data

First of all, my post is related to : Link 1 and Link 2 I made my custom taxonomy page. My Custom Taxonomy Page link is //localhost/myproject/?motion=aamir-khan This page is custom taxonomy ...
0
votes
1answer
47 views

Redirect A URL Pattern In WordPress Using .htaccess

I am new to WordPress and just converted from Blogger to WordPress. Now as you know that Blogger URLs are too different from WordPress URLs so after migrating I started receiving 404 error in Google ...
0
votes
1answer
33 views

Which WordPress scripts need to be executable for a fresh installation?

For security reasons I need to block access to scripts that will not be executed on a fresh WordPress installation. Example: /index.php --> needs to be executable /wp-includes/cache.php --> should ...
0
votes
3answers
36 views

Once redirected by Rewrite rules, how can WordPress know the page?

I have been searching for some configurations of .htaccess, filters and hooks to make able to manage the inner site uri's. The goal was force login, register and admin pages through SSL, and all the ...
1
vote
0answers
29 views

URL for images folder on Multisite

I am developing a theme locally on a local multisite installation and trying to change the default gravitar with the following function: function custom_gravitar ($avatar_defaults) { $myavatar = ...
0
votes
0answers
16 views

Site not loading after trying to give wordpress its own directory

I have followed these instructions http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory 100s of times and never had a problem. Now I am trying to remove the /wordpress from the URL again ...
0
votes
0answers
26 views

Wordpress Membership Login not working

I recently tried to set up a membership plugin to my self hosted wordpress site. Problem is, that when I try to login with a test user account it simple doesn't work (of course the login input was ...
0
votes
2answers
49 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
18 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
30 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
39 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
9 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
52 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
25 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
14 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
23 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
28 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
50 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
102 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
54 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
23 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
37 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
20 views

Add filter on a plugin's function in functions.php

I need to modify a W3TC function private function rules_core_generate_apache($config){ /* Code */ return $rules; } which generate .htaccess code, specifically I need to add a custom ...
0
votes
0answers
16 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
77 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
15 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
59 views

WPML language subdirectories and htaccess

I have two languges on the site: site.com/lang1/ site.com/lang2/ WPML plugin is responsible for creating and handling these directories. My problem is that .htaccess is ignored (or isnt called) ...
0
votes
0answers
22 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
48 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
45 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
44 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
31 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
85 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 ...
10
votes
2answers
426 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
63 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
99 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
54 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
57 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
153 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
34 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
20 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 ...