Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

htaccess needed

Featured Replies

Hello,

 

I am currently coding a new website and am up to the part of clearing little bits up etc purely for better useability (if thats even a word)

 

anyhow, ive tried a range of things on .htaccess and cant manage to get it to work (i suck at htaccess)

 

this is basically what im trying to achieve,

 

my url for someone to be linked to an offer for example is www.example.com/index.php?page=offer53

 

I want it so that i can add a new line in htaccess so the user can simply type

 

www.example.com/offer53 and it automatically redirects them to www.example.com/index.php?page=offer53

 

could anyone help, im on apache

 

Cheers, Gary

Try this...

 

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteCond %{SCRIPT_FILENAME} !-d  
RewriteCond %{SCRIPT_FILENAME} !-f


RewriteRule ^([a-z0-9]+)*$ index.php?page=$1 [NC]

 

I think that should work, it should also work for anything such as offer54 and will take the user to ?page=offer54

  • Author

Try this...

 

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteCond %{SCRIPT_FILENAME} !-d  
RewriteCond %{SCRIPT_FILENAME} !-f


RewriteRule ^([a-z0-9]+)*$ index.php?page=$1 [NC]

 

I think that should work, it should also work for anything such as offer54 and will take the user to ?page=offer54

 

that done the trick, thankyou +1

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.