Category "mod-rewrite"

How is this access getting through without getting a 403

I have a standard Apache 2 setup on an Ubuntu Server. I basically block almost everything from the outside world, but it is still open to friends and family fo

URL rewriting with /!#/ symbol in web.config

I want to redirect my old url https://mysite1.com/#!/page1 to new url https://mysite2.com/page1, other answers did not help, tried. <rule nam

flush_rewrite_rules() not working with update_option_{$option}

Will someone please explain to me why flushing doesn't work in my case. I added a custom settings page with a default value, but it doesn't work when I hit save

Prestashop 1.7.3.4 - Friendly URL doesn't work despite rewrite active

I'm running PS 1.7.3.4 on ubuntu 16.04.4 x64 with LAMP (php 7.1) I've enabled friendly URL right after the installation of my shop. From index.php it then cha

Use a Laravel Application alongside another scripts (wp/joomla/...) and remove /public

This is my directory structure: Public_html /app /bootstrap /config /database /public /resources /routes /vendor /storage /another-sctipt I

.htaccess RewriteRule Weird Bug

# Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working Options +FollowSymLinks RewriteEngine On # Removes index.php

301 Redirect to remove query string on homepage only

I don't have knowledge of .htaccess redirect rules. If a user enters http://example.com?abc=123 or https://example.com?who=123 or https://example.com?xyz=123 th

net::ERR_INCOMPLETE_CHUNKED_ENCODING

I use .htaccess to rewrite url from someurl.com/ to someurl.com/public/. First .htaccess in www root contains this: DirectoryIndex ./public/ RewriteEngine on R

Letsencrypt with htaccess

This is my current htaccess configuration of /frontend/web RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule ^.*$ https://%{SERVER_NAME} [R,L] # if a dire

Understanding RewriteRule & HTACCESS

I'm building a blog with a prety easy page structure, consisting of articles.php, article.php and categories.php and I'd like to tidy up the url path for each p

Remove index.php from URL of Laravel

I am using Laravel 5.5.12 in Linux Mint.I am using LAMP stack. I would like to remove index.php from URL. My mod_rewrite apache module enabled. My .htaccess fi

Add New Parameter to Existing URL using htaccess

I have a url like below http://filespecification.phpnet.us/index3.php But i want to add an additional parameter to this url like below. http://filespecifica

Rewrite url in haproxy

I have haproxy as front layer to our nodejs app and I'm looking for a way to rewrite url. For example, if customers go to https://aaa.com/product/123, haproxy w

WHM Enabling mod_rewrite

I have a CentOS 6.8 w/ WHM on GoDaddy and I have a laravel application. The routes don't work, they return a 404 Not found and because of this I'm assuming it's

Remove .php extension with .htaccess

Yes, I've read the Apache manual and searched here. For some reason I simply cannot get this to work. The closest I've come is having it remove the extension, b