Remove accounts page url

Remove accounts page url

dvaughn
Excursionist
176 0 9

Hey I'd appreciate assistance to remove the accounts url completely for my site. So I'd like to remove for example 'account.storename.com' and 'storename.com/account' so when the user searches this they get a 404 error or something of that sort.

Replies 5 (5)

juandavid
New Member
4 0 0

You can achieve this by setting up redirects or modifying your server's configuration. Here's how to do it:

1. For `account.storename.com`:
- Update your DNS settings to remove the subdomain.
- Alternatively, set up a redirect from `account.storename.com` to a 404 page.

2. For `storename.com/account`:
- Create a rule in your `.htaccess` file (if using Apache) or in your server configuration (for Nginx, etc.) to return a 404 error for any request to `/account`.

Example for Apache (.htaccess):
```apache
RewriteEngine On
RewriteRule ^account/?$ - [R=404,L]
```

Example for Nginx:
```nginx
location /account {
return 404;
}
```

This will ensure that users trying to access these URLs will get a 404 error.

dvaughn
Excursionist
176 0 9

I'm not too familiar with shopify coding, as I'm a beginner, if you could be a little more specific/run me through it step-by-step this would be great.

juandavid
New Member
4 0 0

If you're new to Shopify coding, it's essential to understand that Shopify uses a templating language called Liquid, along with standard HTML, CSS, and JavaScript.

juandavid
New Member
4 0 0

When I started the blogging websites, I faced issues like programming and didn't solve the issues, so I moved on to WordPress websites. Like Online Appointments With Sim Info, my site is performing best. 

simregistration
Visitor
1 0 0

Registering your Globe SIM card is essential to ensure your phone works properly and stays secure. By registering, you provide your personal information to Globe SIM Registration, helping to protect your account.