Questions tagged [mod-rewrite]
The mod-rewrite tag has no usage guidance.
16
questions
1
vote
0
answers
177
views
Override PHP-sdk file in vendor
I want to override the (PHP sdk)file which is found in the vendor path the path is
vendor/tamara-solution/php-sdk/src/Tamara/Model/Order/Order.php
I am attaching my that specific php sdk composer....
0
votes
1
answer
188
views
Multi Store RewriteBase Problem (Magento 2.3)
I am trying to set up a Magento 2.3 CE multi store installation. Most things are working fine:
Default website and magento admin are available on https://a.b.info (/admin_sdgshgd).
I created another ...
0
votes
1
answer
241
views
Magento 2 Base Url path issue custom theme
I have a Magento 2.3.1 site installed in a subfolder and I have a problem with base URL.
When I have a link like this < a href="#" > LINK < /a > Instead of this www.domainname.com/...
1
vote
1
answer
34
views
apache2.4; php7.2.16 @debian9 squeeze + Magento CE 2.3.1
I am currently stuck with a Magento 2.3.1 CE installation on a VPS running on debian9 on LAMP
The installation went without any problems. But when I try to access the admin url I get the URL not ...
0
votes
1
answer
1k
views
Why we rewrite urls in magento 2?
When I deployed magento project from one server to another server css and js didn't loaded. So I google and got this answer which worked for me.
<Directory /var/www/html>
Options ...
0
votes
0
answers
188
views
XML sitemap redirects to HTML sitemap after change
I have a strange issue where when you visit www.website.com/sitemap.xml or www.website.ca/sitemap.xml, it shows the sitemap as an html page.
The following has been added to my .htaccess :
#Sitemap: ...
1
vote
0
answers
283
views
htaccess Rewrite Rules for Magento Multisite with WordPress blog
I have a Magento installation running 2 websites:
www.mywebsite1.co.uk
www.mywebsite2.co.uk
We had a blog extension that was used, however now we've switch the blog on mywebsite1.co.uk to WordPress.
...
0
votes
1
answer
2k
views
Using htaccess to redirect baseurl with index.php
I have 1.9.3.6 magento installed with sample data.
The backend works fine, but the frontend breaks with any links. I'm running it with apache through localhost.
Base URL:
http://127.0.0.1/magento
...
0
votes
1
answer
755
views
Toggle shipping method based on customer's condition
I created an extension following Inchoo's tutorial but still confusing at how to toggle the shipping method.
Once customers about to see the shipping method page, I need to check the customer's ...
0
votes
1
answer
370
views
Rewrite not working CSS not loaded, module enabled [duplicate]
CSS, scripts not loading, via pub/static/version1496086766/frontend/Magento/, but loading without version: pub/static/frontend/Magento/..
There is .htaccess file with rewrite rule, and sudo a2enmod ...
0
votes
1
answer
141
views
Rewrite module not working
I just cant figure out where im going wrong.. can someone tell me?
app/etc/modules/Mynamespace_CheckoutOverrides.xml
<?xml version="1.0"?>
<config>
<modules>
<...
2
votes
1
answer
1k
views
Magento 2 - Single instance, multiple websites with single store view each - How to configure Apache?
I am trying to set Apache 2.4 to serve a new project on Magento 2 (EE).
The structure needs to be:
http://siteA.mydomain.com/ <-- (MAGE_RUN_CODE = aa_uk)
http://siteA.mydomain.com/de/ <-- ...
1
vote
0
answers
34
views
How to remove index.php from Magento URLs? [duplicate]
I followed all the steps in this explanation and the index.php has been removed from my URL, but when i click on a product or any link in my store it is a redirect me to root path.
how i can fixes ...
0
votes
0
answers
21
views
Magento move through shell - after move index.php needed in urls
Strange issue, I do a backup of folder and database through shell.
I setup the new test shop in a subfolder, change the url etc. All good.
Cleared cache, did a reindex.
Weird issue, after the move ...
2
votes
0
answers
181
views
Mod_rewrite rule - [L] not working as expected [closed]
I am trying to create a mod_rewrite rule that will handle transparently rewriting a friendly URL to a query string redirect behind the browser.
Every tutorial says to use the last flag [L]
but this ...
2
votes
4
answers
14k
views
Magento 2: Using nginx -- All Static Assets are 404
I'm trying to install Magento 2 using the Laravel Homestead project. Laravel Homestead provides a virtual machine based around nginx. I have nginx successfully serving Magento 2 application pages. ...