Tagged Questions
0
votes
1answer
28 views
Prevent Wordpress from automatically correcting URLs
I notice that if I type in http://www.example.com/pag I can land on an existing page that has a name like http://www.example.com/page_five. I don't know exactly what causes this, but I want to know if ...
0
votes
2answers
46 views
Is Wordpress API visible from PHP file called in htaccess
I'm trying to add some rewriterules in the .htaccess file to deal with hotlinked images - specifically I want to add the URL from the post where the image appeared to the header location information ...
0
votes
2answers
949 views
Images in sub-pages fail to load
I added a .htaccess file to a wordpress website I'm working on, to show nice urls instead of page ids.
The content of the .htaccess is this:
<IfModule mod_rewrite.c>
RewriteEngine On
...
4
votes
2answers
145 views
Allow admin login at /admin
I am interested in:
how can we change the default login url /wp-admin to /login
how can we add another url for login so that both /wp-admin and /login would work
I tried to use a custom filter and ...
0
votes
2answers
3k views
Moving wp-content outside of web root?
Is it possible to move the entire wp-content folder outside of the Web root? I need to prevent anyone to view any asset file (images, pdfs, movies etc) with a direct url to the file...
Any ideas? Or ...
0
votes
1answer
2k views
custom htaccess rewrite rule for page
i have a page in wordpress called "video". its page id is 6, and its slug is "video"
in my theme ive set it up to show content based on GET variables
here is the URL rewrite im trying to set up:
...
0
votes
1answer
2k views
hide wp-content from urls
Here is what I am thinking of trying to hide wp-content from the urls of files included in page source.
defining the following in wp-settings.php
define ...
0
votes
1answer
383 views
How to manually add permalink base into htaccess file [closed]
And when I use the permalink editor to add a base, it messes up my author links.
My current url structure is www.example.com/123 (123 being post_id)
And my author URL is www.example.com/author-name ...
0
votes
1answer
164 views
Problem with permalinks [closed]
very weird things happening to my permalinks. its showing me 404 error when i switch to permalinks then when i change to default and then back to permalinks its fine until i actually edit url to ...
5
votes
1answer
224 views
Clash of the rewrites
I have a category called 'neighborhoods'. I also have child categories within 'neighborhoods' E.G. Lakewood, Highland Park...
When I click 'highland park' the url is ...
2
votes
1answer
869 views
Hijacking the URL for filtering
Right, here's the deal. I've got a loop of which displays news posts, these posts can belong to special categories (not normal categories) and I want to be able to filter by them.
If I wasn't too ...
0
votes
2answers
939 views
mod-rewrite exception? keep #hash in matching urls?
Hey guys,
My WordPress permalink structure is set to `/%postname%/.
When I create a page with a name "FAQs" the permalink generated is "mydomain.com/faqs".
When I link to this page in my code ...