- Create migration for global settings table and add google_ads_customer_id and google_ads_start_date columns to clients table. - Add migration to include product_url column in products_data table. - Insert demo data for campaigns, products, and their history for client 'pomysloweprezenty.pl'. - Implement client management interface with modals for adding and editing clients, including Google Ads Customer ID and data retrieval start date.
22 lines
580 B
ApacheConf
22 lines
580 B
ApacheConf
RewriteEngine On
|
|
RewriteBase /
|
|
Options +FollowSymlinks
|
|
Options -Indexes
|
|
|
|
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
|
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
|
|
RewriteCond %{SERVER_PORT} !=443
|
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=permanent]
|
|
|
|
# Statyczne zasoby - pomijaj
|
|
RewriteCond %{REQUEST_URI} ^/(libraries|layout|upload|temp)/ [NC]
|
|
RewriteRule ^ - [L]
|
|
|
|
# Istniejące pliki/katalogi - pomijaj
|
|
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
RewriteRule ^ - [L]
|
|
|
|
# Wszystko inne → index.php
|
|
RewriteRule ^(.*)$ index.php [L,QSA]
|