Can not connect to WordPress Dashboard

Some strangeness here. So I have build a custom theme for a client about a year ago and all has worked perfectly till about 3 days ago when I noticed that I could not login to the website. I kept and still keep getting the 'ERROR: Cookies are blocked

Transfer domain & amp; wearing with masking

So I'd like to use a htaccess file to forward a domain:port onto another domain:port In this case I'll use this example of what I want to achieve -->* --> DomainB/** --> DomainB:8000/

Delete the php extension of the site with htaccess

I have these links on my website: (I can only add 2 urls in my question, since i'm a n00b) I added a code to htaccess so I can access these pages without the php: It works fine with this code: R

How to improve this .htaccess file?

I created the following .htaccess file and I am wondering if it could be improved: RewriteEngine On RewriteRule ^site$ ./site/ [L,NC] RewriteRule ^site/(.*)$ ./main/$1 [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d Rew

PHP does not detect the GET language from the rewrite URL

I have this multi language rewrite url from .htaccess: RewriteEngine On RewriteBase /pms/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^((fr))/([A-Za-z0-9-]+)/([0-9]+)/([A-Za-z0-9-]+)/?.html$ article.php?page=$3

.htaccess URL rewrite breaks relative paths

I was attempting to remove the .html extension from my website URLs using a simple rewrite in my .htaccess file: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html-f RewriteRule ^(.*)$ $1.html This however succ

Rewrite of Problen .htaccess Redirect 301

I need put a redirect on a site and a have some problems. I have this original .htccess RewriteEngine on RewriteCond %{REQUEST_URI} \.json$ [NC] RewriteRule .* - [F,L] RewriteRule config/.* - [F,L] RewriteRule config - [F,L] RewriteCond %{REQUEST_FIL

cursor images load twice after cache control

I have use following code in my .htaccess file for cache control in my joomla site. ########## Begin - ETag Optimization ## This rule will create an ETag for files based only on the modification ## timestamp and their size. ## Note: It may cause prob

Rewrite the URL to return in a $ _GET variable

I'm following a YouTube tutorial (YouTube video) and can't proceed any further without solving this problem. I've spent hours trying to fix it and have got no where. What I'm trying to do is pass the URL as a query string to then be fed back into an

htaccess rewrite messing with jquery ajax url

I have rewritten my URLs from to I have my ajax file on my root directory and when I pass a request I use: $.get('ajax-file.php', PARAMETERS, function (data) {}); But when someone vis

Run multiple subfolder Web sites in a separate folder

I have a main website ( I use CodeIgniter framework there. I will also use some different subfolders like, I am using Laravel framework here and those will be completely different from and s

.htaccess hides url subdirectory after redirection

I'm redirecting a website to a subdirectory I created. The subdirectory contains an installation of WordPress and now I want to mask the subdirectory url from the website. Now it's something like I want to remove the /apt/ f

Magento using HTTPS on all pages

I have got a SSL on my site I only want checkout pages to require https, at present i get a 500 Internal Server Error on every page that uses the unsecure base url (http). I think my .htaccess is forcing every page to have the htt

Rewrite the URL of the parameter

I have a page which have link I want to rewrite the url to Where 15 is the id of AfricaThe best solution for this is encrypt id of africa using base64_enco

external links without http | https fails

I'm not very good at regular expressions at all. the RewriteRule I use is: RewriteRule ^([a-zA-Z0-9_-]+)$ /kurum.php?sef=$1 [QSA] Which converts to my php file handles the URLs

Directory to a subdomain of the same name

Thanks for reading. I have done a search, read multiple posts (lost count) and still having trouble with something that seems simple. I am trying to redirect or rewrite from: to Firstly, should

Why is it a bad idea to tell your server to parse HTML in PHP?

You know you can make a server parse HTML pages as PHP (execute PHP code in a HTML doc) using .htaccess? Well, some people say it's bad to do so. Why? Some people also say it opens a security vulnerability in your application. How? The source code is

.htaccess for SSL?

I have: RewriteCond %{HTTP_HOST} ^MYDOMAIN\.com$ [NC] RewriteRule ^(.*)$$1 [L,R=301] RewriteCond %{HTTPS} !=on RewriteCond %{REQUEST_URI} ^/(user|admin|cart) RewriteRule ^(.*)$$1 [R=301,L] This effec

Apache .htaccess rule with dynamic page performance (php)

i have a new website (i'm building one right now) and i want to make sure i do it correctly and not redesigning after 1 month. so i have pages like: /candy /candy/chocolate /drink /drink/beer so i look on stackoverflow about how can i do this and i f

Apache password protect a specific URL

I need to password protect on specific URL, for instance anyone can access index.php but as soon as they add parameters or "GET" variables I must require valid-user. index.php -> sweet index.php?prev=1 -> require valid userInteresting ques

.htaccess mod_rewrite problems

So here's the thing .. I've been working on my webpage for some time now. I have a .htaccess in the root folder that contains only a few rows of rewriting rules and nothing else. It works fine on localhost but when I upload it to my host it just thro

Why does this htaccess file cause a 500 error in Apache?

Why is my htaccess file causing a 500 error? I am trying to get it so when anyone enters it will run the script for the 'key' 24 but the server reads Php script on index.php: <?php include("

HTAccess Page Redirecting a problem with & amp; sign

I am trying to make my pages seo friendly. I have a links in my page. it works fine and title has value "feedback & enquiry". I changed above link to:

URL rewrite rule does not work

I am trying to rewrite URLs ending like (not only exactly equal to) this: comments/The-Latest-Out-of-Pakistan/68 into URLs ending in this: comments/index.php?submissionid=68 Below is what I have in the .htaccess file, but it's not working. RewriteEng

.htaccess code to protect a single URL?

Is it possible to protect a single URL through .htaccess? For example I will have Can I password protect only this url? (with no PHP changes, only .htaccess) or