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)

2
votes
0answers
513 views

WordPress + Magento .htaccess ReWriteRule Issue (www vs. non-www)

I have an issue I've been facing for a bit now. Moved away from it, but now I'm back and just have no idea after trying to find a solution online. It seems individuals have faced similar issues, but ...
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 ...
1
vote
0answers
198 views

mod_rewrite doesn't work as I want even with JSON API Plugin disabled

I've been asked to upgrade the codebase of a Wordpress website, which exposes a small set of APIs using JSON API plugin. The Wordpress installation is not in the root, but in a secondary folder: ...
1
vote
0answers
305 views

WordPress Example Code for Blocking Referrer Spam

While looking for a way to block semalt I found this code block in the Codex: SetEnvIfNoCase Via evil-spam-proxy spammer=yes SetEnvIfNoCase Referer evil-spam-domain.com spammer=yes SetEnvIfNoCase ...
1
vote
0answers
89 views

How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite

I have a question that I thought the below thread would provide the answer to, but things in WP have changed so it doesn't quite do it, although it helped my understanding of things. How to protect ...
1
vote
0answers
585 views

404 not found error on WordPress local host

I'm doing some work on a live WordPress site, and before making changes wanted to create a local copy of the site to use. I've gone ahead and done that, (using BackUpBuddy) but I am getting this ...
1
vote
0answers
42 views

create virtual subdomains for a bunch of urls on a site via .htaccess

I need to be able to create subdomains for a bunch of urls on a site, from: domain.ca/communities/city/nw/neighbourhood/ to: neighbourhood.domain.ca There are a couple of things that change in the ...
1
vote
0answers
60 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 = ...
1
vote
0answers
91 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
23 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 ...
1
vote
0answers
167 views

Static raw HTML page

On the server there is a static HTML page example.html in my root folder of the WordPress install. Now when a user types www.example.com/example.html I want WordPress to be smart and bypass all normal ...
1
vote
0answers
213 views

htaccess getting overwritten over and over = 404 error

I have been having a big issue on my wordpress blog and don't know what to do right now. To make it short, my .htaccess file is getting overwritten over and over... These lines : # BEGIN WordPress ...
1
vote
0answers
76 views

Multisite install w/ Sub domains on a subdomain

I have a Wordpress installation which I have installed on a subdomain login.mysite.com. I would like to create additional sites that use the same application on feed.mysite.com, but technically this ...
1
vote
0answers
164 views

Wordpress .htaccess file gives issues with subdirectory

I have a WordPress installation in the root and a subdirectory, which contains a index.html file. This file doesn't give me proper display as what it is supposed to when I access it. But when I ...
1
vote
0answers
201 views

How to rewrite a URL to another rewritten URL without changing the address?

Just got to the end of a site build and the client is now saying the original site URL's need to stay the same and do not want to do 301 redirects due to loss of link juice. The structure of the site ...
1
vote
0answers
225 views

Help with multisite redirect issues using Cherokee OR solid nginx config?

A little background: We've decided to abandon Apache because it can't keep up with the demand we're putting on it. We have a cron script that will create a new post about once every 3 or 4 seconds ...
1
vote
0answers
101 views

An other permalink problem - 404 Error

I know there are already a lots of post about this question, but not a single one helped me to solve this issue. I moved my page to an other server and afterwards I was facing the problem that the ...
1
vote
0answers
63 views

One post on my website is going to a 404 page

So I ran into an incredibly odd and frustrating problem today. As the title says, as of today one of the posts on the website is going to a 404 page. This is the ONLY post that goes to a 404 page. ...
1
vote
0answers
111 views

WordPress Not Using Template Files After Permalink Update

I have a really weird issue that just occurred on a client site. I updated the permalink structure from /%category%/%postname%/ to /%postname%/ and suddenly my pages don't respect templates and are ...
1
vote
0answers
54 views

Customise particular RSS permalink

From my old static website, I want to preserve some URLs like the RSS Feed one. My feed URL is http://traduction.bainslesbains.com/actualite-russe.xml and I want to redirect it to the category feed ...
1
vote
0answers
98 views

Canonical Resource URLs Across a Multisite Network 2012?

This question was asked back in 2010 @ Outputting Canonical Resource URLs Across a Multisite Network? WordPress MU Domain Mapping @ Wordpress.org Since many things have changed since then, I was ...
1
vote
0answers
368 views

htaccess rewrite, adding segment to url

Im not that good with htaccess files & regexes, and i'm trying to add a segment to a certain url. I'm building a website for a festival and we have a comon structure for the artists being: line-up ...
1
vote
0answers
293 views

htaccess rewrite conflict with wordpress rules and ssl

this one has me buggered- I have the below htaccess rule to redirect ssl to non-ssl pages. this works fine, except I'd like to exclude certain wordpress requests from this rule- for example, ...
1
vote
0answers
164 views

Cannot use Network Admin (Dashboard) on Multi-site after 301 www redirect

I have recently added the 301 redirect non-WWW to WWW on .htaccess for my current running blog multisite (Wordpress blog resides under "mysite.com/home/" directory), they seem to work fine after all ...
1
vote
0answers
174 views

Struggling with add_rewrite_rule

I've read this: Wordpress redirection to get url friendly That led me to this: 1) wp.tutsplus.com/tutorials/creative-coding/the-rewrite-api-the-basics/ 2) ...
1
vote
0answers
102 views

I have a page using a pretty url and a mod_rewrite rule matching it. I expected it to give an error but it's working. Why?

this may seem like a weird question but I have something working and I don't understand how. I have moved my wordpress install to a subdirectory and am using the .htaccess file to redirect anything ...
1
vote
0answers
632 views

How do I setup htaccess for 301 redirects, post Joomla to Wordpress migration?

I've almost completed the tedious task of migrating a relatively complex Joomla site over to Wordpress. The (more or less) final stage I am wishing to figure out is the 301 redirections. I've spent ...
0
votes
0answers
11 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
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
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
0answers
73 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
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
56 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
0answers
38 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
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
0answers
124 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
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
0answers
254 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
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
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
36 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 ...
0
votes
0answers
330 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 ...
0
votes
0answers
139 views

Protect wp-admin folder with .htaccess get 500 internal server error

I want to protect the wp-admin folder with .htaccess and .htpasswd, but if i enter the username and password i get 500 internal server error. The .htaccess file is located in /wp-admin/ folder. The ...
0
votes
0answers
135 views

How can I remove subdirectory folder from wp-admin urls?

I have the following root file structure: |-- composer.json |-- composer.lock |-- index.html |-- index.php |-- vendor | |-- autoload.php | |-- composer | `-- fancyguy |-- wp | |-- index.php | ...
0
votes
0answers
76 views

Uploading high ress images: image data does not exist

I have a reason to let users upload High Ress images. My hostingcompany doesn't allow me to upload more then 8MB. To be able to upload more MB's I did the following: I created a php.ini file and ...
0
votes
0answers
28 views

Htaccess https 301 problem

Since 2 weeks I have installed an SSL certificate on my domain. I have changed my base urls to https so my canonical url is https now. But now I need to force to https. I did this with the below ...
0
votes
0answers
97 views

Adding a hash to a url in .htaccess

I am using a js hash listener to display a modal window if the /hash matches the id of the element. /brands/type/#name-of-product Works fine. However, default WP behavior will match any ...
0
votes
0answers
33 views

My permalinks are not working on new server

I am going nuts trying to figure out the rewrite rule for a site that I am moving. I have an old server danceprarade.org/wp and I want to move it to a new server new.danceparade.org/ (no wp). I have ...