www. isnt working - not sure if anyone could help out - dns

Thanks in advance for the help. I'm not too sure why the www. isn't working. I think the DNS is set up correctly. I've attached an image for reference.
Any ideas or suggestions?
http://www.thebombayeastindiangirl.com/
https://thebombayeastindiangirl.com/
enter image description here
I added the image here for what I've tried

Related

.htaccess, engine rewrite, regardless everything infront, refer to the same folder

It has been a while i've played arround with the engine rewrite functions in the htaccess file.
But due some merged projects and some pretty damn ugly looking url's that would be tomuch work for a simple application to work i've decided to use enginerewrite to make things a bit more pretty.
However, like always there is a catch that i've been struggling with for the past 2 days, the image folder.
To give an example, url's are changing to domain.com/firstpage/firstparam/secondparam/ultimateparam/
the issue here is the images on the page, that are broken because there is no image folder under the uri domain.com/firstpage/firstparam/secondparam/ultimateparam/images/
so my question here is, how can i ignore everything infront of /images/ and make it link to the actual images folder ?
Thanks in advance !
One awnser profided by Amit Verma.
putting a / infront of the path to the image, ex;
<img src="path/to/image.png">
to
<img src="/path/to/image.png">
seems based on the (sub)domain.
Not exactly what the question was, but it solved my issue regardless, thanks!

Rewrite double url issue

I have been trying several different combinations for resolving the following URL. I just can't get it to redirect where I need it to.
https://www.oldsite.com/http://www.oldsite.com/
needs to redirect to
https://www.newsite.com/
I can't find the right combination to work.
Any help is greatly appreciated.

Remove directories from URL using .htaccess

I've been searching around and tried many different ideas to fix the state of a URL for my client, but have had no joy.
The URL currently looks like this:
website.com/folder1/folder2/folder3/page.php
My client wants this to be showing much like the other links on the website as so:
website.com/page
I'm fine with removing the .php that's simple enough and is already written into my .htaccess file. It's just removing the 3 directories from the URL is what I cannot work out.
Before anyone asks about moving the file to a higher directory, I'm afraid this cannot be done as everything needs to be down in this 3rd directory for this page.
I believe my latest attempt is about the closest I've got to solving this, if anyone could point out my mistakes and a solution it would be much appreciated:
RewriteRule ^/folder1/folder2/folder3/(.*)$ /page$1 [L,R=301]
EDIT:
After researching more today, I think I may have confused people with this question. I think what I should have said is that I need to mask the URL, hiding the 3 directories, and showing just the domain and the page itself.
I still seem to be hitting a wall with masking too. Any advice?
After a whole weekend (and quite a bit of the week between working) I finally managed to succeed with what I wanted.
The site now displays as required:
website.com/page
Which has been redirected and masked from:
website.com/folder1/folder2/folder3/page.php
The piece of code required in the .htaccess is as follows:
RewriteRule ^page$ /folder1/folder2/folder3/page.php
Looks like I was being stupid before and had the syntax backwards, but all is well now and I'm allowed to sleep :)
Hope this helps anyone else in future with this sort of problem!

Is this possible with an htaccess rewrite

I am wondering if this is possible to do with an .htaccess rule.
My beginning url:
http://cmfi.org/wherewework/missionary/?missionary=ttaho%2C
What I want to end up with:
http://cmfi.org/wherewework/missionary/ttaho
The ttaho will change according to the page.
Thanks for any input.
Don't think I was asking anyone to code this for me...Just asking if it was possible. I have tried a few things and couldn't get them to work. The %2c is an encoded part of the url that is added from the plugin I was using.
I will figure it out. No worries.

Simple URL rewrite, not redirect, with .htaccess

I'm pretty inexperienced with .htaccess so please bear with me.
I have a domain - "http://www.exampletest.com"
which redirects to a folder at a different domain where I have hosting i.e:
"http://www.differenturl.com/exampletest"
Is there an easy mod_rewrite rule where I could have anything at "http://www.differenturl.com/exampletest" show up as "http://www.exampletest.com?" An example would be:
"http://www.differenturl.com/exampletest/user.php" -> "http://www.exampletest.com/user.php"
Any assistance is greatly appreciated. I assume this easy so sorry to ask such a basic question.
Thanks
You say "rewrite, not redirect", so no, there isn't a simple way to do this. The only way to do what you ask would be to have a "reverse proxy" running on www.exampletest.com that fetches content from "www.differenturl.com/exampletest/". That isn't something you can do with mod_rewrite.
If I have understood correctly, following code might do:
RewriteRule exampletest/(.*)$ http://www.exampletest.com/$1 [R=301,L]
Please note that you add this line in the .htaccess file placed on differenturl.com server.
Hope that helps.
Cheers

Resources