How to redirect user to another location from particular folder if there is no extension(like .png,.jpg)...












0















I want to redirect all url of particular folder to another location if there is no extension exist at the end of url.



I have "Test" folder in the server.



my url are like



www.example.com/Test/abc
www.example.com/Test/abc1
www.example.com/Test/abc2


So i want that when user click on these url then it will be redirect to the index page(www.example.com/index.php)



But if url have extension at the end then it should not be redirect.



like www.example.com/Test/logo.jpg, www.example.com/Test/p1.mp3



I have tried to do it using .htaccess file. and i am able to redirect to index page but my problem is that when user click on any image url or mp3 url then it will also redirect user to index page.



here is my .htaccess file



<IfModule mod_rewrite.c>
Options +SymLinksIfOwnerMatch
RewriteEngine On
Redirect /Test http://example.com/index.php?id=
</IfModule>


It redirect me to the following url



http://example.com/index.php?id=abc (if i clicked on http://example.com/Test/abc)


Any Idea?










share|improve this question



























    0















    I want to redirect all url of particular folder to another location if there is no extension exist at the end of url.



    I have "Test" folder in the server.



    my url are like



    www.example.com/Test/abc
    www.example.com/Test/abc1
    www.example.com/Test/abc2


    So i want that when user click on these url then it will be redirect to the index page(www.example.com/index.php)



    But if url have extension at the end then it should not be redirect.



    like www.example.com/Test/logo.jpg, www.example.com/Test/p1.mp3



    I have tried to do it using .htaccess file. and i am able to redirect to index page but my problem is that when user click on any image url or mp3 url then it will also redirect user to index page.



    here is my .htaccess file



    <IfModule mod_rewrite.c>
    Options +SymLinksIfOwnerMatch
    RewriteEngine On
    Redirect /Test http://example.com/index.php?id=
    </IfModule>


    It redirect me to the following url



    http://example.com/index.php?id=abc (if i clicked on http://example.com/Test/abc)


    Any Idea?










    share|improve this question

























      0












      0








      0








      I want to redirect all url of particular folder to another location if there is no extension exist at the end of url.



      I have "Test" folder in the server.



      my url are like



      www.example.com/Test/abc
      www.example.com/Test/abc1
      www.example.com/Test/abc2


      So i want that when user click on these url then it will be redirect to the index page(www.example.com/index.php)



      But if url have extension at the end then it should not be redirect.



      like www.example.com/Test/logo.jpg, www.example.com/Test/p1.mp3



      I have tried to do it using .htaccess file. and i am able to redirect to index page but my problem is that when user click on any image url or mp3 url then it will also redirect user to index page.



      here is my .htaccess file



      <IfModule mod_rewrite.c>
      Options +SymLinksIfOwnerMatch
      RewriteEngine On
      Redirect /Test http://example.com/index.php?id=
      </IfModule>


      It redirect me to the following url



      http://example.com/index.php?id=abc (if i clicked on http://example.com/Test/abc)


      Any Idea?










      share|improve this question














      I want to redirect all url of particular folder to another location if there is no extension exist at the end of url.



      I have "Test" folder in the server.



      my url are like



      www.example.com/Test/abc
      www.example.com/Test/abc1
      www.example.com/Test/abc2


      So i want that when user click on these url then it will be redirect to the index page(www.example.com/index.php)



      But if url have extension at the end then it should not be redirect.



      like www.example.com/Test/logo.jpg, www.example.com/Test/p1.mp3



      I have tried to do it using .htaccess file. and i am able to redirect to index page but my problem is that when user click on any image url or mp3 url then it will also redirect user to index page.



      here is my .htaccess file



      <IfModule mod_rewrite.c>
      Options +SymLinksIfOwnerMatch
      RewriteEngine On
      Redirect /Test http://example.com/index.php?id=
      </IfModule>


      It redirect me to the following url



      http://example.com/index.php?id=abc (if i clicked on http://example.com/Test/abc)


      Any Idea?







      php apache .htaccess






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 16 '18 at 10:37









      arun kambojarun kamboj

      1322625




      1322625
























          3 Answers
          3






          active

          oldest

          votes


















          1














          Well in .htaccess you could do something like:



          RewriteEngine On
          RewriteRule ^Test/(.*).jpg$ /index.php?id=$1.jpg [L]
          RewriteRule ^Test/(.*).mp3$ /index.php?id=$1.mp3 [L]


          If you want a 301 redirect:



          RewriteCond %{REQUEST_URI} .(jpg|png|mp3)$ [NC]
          RewriteRule ^Test/(.*)$ http://example.com/index.php?id=$1 [R=301,L]





          share|improve this answer


























          • I am using Redirect instead of RewriteRule, Can you please give some idea for Redirect /Test example.com/index.php?id=

            – arun kamboj
            Nov 16 '18 at 11:31











          • You won't be able to do that kind of redirect without RewriteRule. If you want you can do Redirect 301 /Test/logo.jpg http://example.com/index.php?id=logo.jpg and for each file you would have to make a seperate rule with that kind of redirect. In your .htaccess you have <IfModule mod_rewrite.c> so why nor use RewriteRule?

            – Vizjerei
            Nov 16 '18 at 11:41











          • @arunkamboj tested the 301 redirect with RewriteRule and have a 100% success rate.

            – Vizjerei
            Nov 16 '18 at 11:56











          • I have used the following .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !^(.jpg|.mp3|.xml) RewriteRule ^Test/(.*)$ /index.php?id=$1 [L] </IfModule> But still its not working, Its also redirect the jpg and xml file path into index page

            – arun kamboj
            Nov 19 '18 at 3:31













          • @arunkamboj I don't understand why did you accept an answer that does not work and redirectes to index.php but under my answer you are saying that you don't want a redirect to index.php... You havn't even tested 301 redirect as I can tell.

            – Vizjerei
            Nov 19 '18 at 7:36



















          0














          <?php
          $extension=end(explode(".",$_SERVER['PHP_SELF']));
          $arr=["png","jpg"];
          if(in_array(strtolower($extension), $arr)==""){
          header("location:https://www.google.com");
          } ?>





          share|improve this answer
























          • This doesn't use .htaccess and the location url is wrong.

            – Vizjerei
            Nov 16 '18 at 12:00











          • create a file in that folder with index.php name and paste my code and replace the location to your desired location. I hope this will work

            – Parvej Alam
            Nov 16 '18 at 12:06











          • Still won't work. You would have to get the file and attach it to the proper location. Changing the location by itself won't do a thing. The only thing you are doing here is checking the file extension. You're not even checking if the url is the one we want to check in.

            – Vizjerei
            Nov 16 '18 at 12:11



















          0














          Could you please try this? I have not tested it but it should work for you.



          <IfModule mod_rewrite.c>
          RewriteEngine On
          RewriteRule .(js|css|ico|gif|jpg|png|xml|html|mp3|ttf|eot)$ - [NC,L]
          RewriteRule ^Test/(.*)$ /index.php [L]
          </IfModule>





          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53336115%2fhow-to-redirect-user-to-another-location-from-particular-folder-if-there-is-no-e%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Well in .htaccess you could do something like:



            RewriteEngine On
            RewriteRule ^Test/(.*).jpg$ /index.php?id=$1.jpg [L]
            RewriteRule ^Test/(.*).mp3$ /index.php?id=$1.mp3 [L]


            If you want a 301 redirect:



            RewriteCond %{REQUEST_URI} .(jpg|png|mp3)$ [NC]
            RewriteRule ^Test/(.*)$ http://example.com/index.php?id=$1 [R=301,L]





            share|improve this answer


























            • I am using Redirect instead of RewriteRule, Can you please give some idea for Redirect /Test example.com/index.php?id=

              – arun kamboj
              Nov 16 '18 at 11:31











            • You won't be able to do that kind of redirect without RewriteRule. If you want you can do Redirect 301 /Test/logo.jpg http://example.com/index.php?id=logo.jpg and for each file you would have to make a seperate rule with that kind of redirect. In your .htaccess you have <IfModule mod_rewrite.c> so why nor use RewriteRule?

              – Vizjerei
              Nov 16 '18 at 11:41











            • @arunkamboj tested the 301 redirect with RewriteRule and have a 100% success rate.

              – Vizjerei
              Nov 16 '18 at 11:56











            • I have used the following .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !^(.jpg|.mp3|.xml) RewriteRule ^Test/(.*)$ /index.php?id=$1 [L] </IfModule> But still its not working, Its also redirect the jpg and xml file path into index page

              – arun kamboj
              Nov 19 '18 at 3:31













            • @arunkamboj I don't understand why did you accept an answer that does not work and redirectes to index.php but under my answer you are saying that you don't want a redirect to index.php... You havn't even tested 301 redirect as I can tell.

              – Vizjerei
              Nov 19 '18 at 7:36
















            1














            Well in .htaccess you could do something like:



            RewriteEngine On
            RewriteRule ^Test/(.*).jpg$ /index.php?id=$1.jpg [L]
            RewriteRule ^Test/(.*).mp3$ /index.php?id=$1.mp3 [L]


            If you want a 301 redirect:



            RewriteCond %{REQUEST_URI} .(jpg|png|mp3)$ [NC]
            RewriteRule ^Test/(.*)$ http://example.com/index.php?id=$1 [R=301,L]





            share|improve this answer


























            • I am using Redirect instead of RewriteRule, Can you please give some idea for Redirect /Test example.com/index.php?id=

              – arun kamboj
              Nov 16 '18 at 11:31











            • You won't be able to do that kind of redirect without RewriteRule. If you want you can do Redirect 301 /Test/logo.jpg http://example.com/index.php?id=logo.jpg and for each file you would have to make a seperate rule with that kind of redirect. In your .htaccess you have <IfModule mod_rewrite.c> so why nor use RewriteRule?

              – Vizjerei
              Nov 16 '18 at 11:41











            • @arunkamboj tested the 301 redirect with RewriteRule and have a 100% success rate.

              – Vizjerei
              Nov 16 '18 at 11:56











            • I have used the following .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !^(.jpg|.mp3|.xml) RewriteRule ^Test/(.*)$ /index.php?id=$1 [L] </IfModule> But still its not working, Its also redirect the jpg and xml file path into index page

              – arun kamboj
              Nov 19 '18 at 3:31













            • @arunkamboj I don't understand why did you accept an answer that does not work and redirectes to index.php but under my answer you are saying that you don't want a redirect to index.php... You havn't even tested 301 redirect as I can tell.

              – Vizjerei
              Nov 19 '18 at 7:36














            1












            1








            1







            Well in .htaccess you could do something like:



            RewriteEngine On
            RewriteRule ^Test/(.*).jpg$ /index.php?id=$1.jpg [L]
            RewriteRule ^Test/(.*).mp3$ /index.php?id=$1.mp3 [L]


            If you want a 301 redirect:



            RewriteCond %{REQUEST_URI} .(jpg|png|mp3)$ [NC]
            RewriteRule ^Test/(.*)$ http://example.com/index.php?id=$1 [R=301,L]





            share|improve this answer















            Well in .htaccess you could do something like:



            RewriteEngine On
            RewriteRule ^Test/(.*).jpg$ /index.php?id=$1.jpg [L]
            RewriteRule ^Test/(.*).mp3$ /index.php?id=$1.mp3 [L]


            If you want a 301 redirect:



            RewriteCond %{REQUEST_URI} .(jpg|png|mp3)$ [NC]
            RewriteRule ^Test/(.*)$ http://example.com/index.php?id=$1 [R=301,L]






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 19 '18 at 7:31

























            answered Nov 16 '18 at 11:12









            VizjereiVizjerei

            629312




            629312













            • I am using Redirect instead of RewriteRule, Can you please give some idea for Redirect /Test example.com/index.php?id=

              – arun kamboj
              Nov 16 '18 at 11:31











            • You won't be able to do that kind of redirect without RewriteRule. If you want you can do Redirect 301 /Test/logo.jpg http://example.com/index.php?id=logo.jpg and for each file you would have to make a seperate rule with that kind of redirect. In your .htaccess you have <IfModule mod_rewrite.c> so why nor use RewriteRule?

              – Vizjerei
              Nov 16 '18 at 11:41











            • @arunkamboj tested the 301 redirect with RewriteRule and have a 100% success rate.

              – Vizjerei
              Nov 16 '18 at 11:56











            • I have used the following .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !^(.jpg|.mp3|.xml) RewriteRule ^Test/(.*)$ /index.php?id=$1 [L] </IfModule> But still its not working, Its also redirect the jpg and xml file path into index page

              – arun kamboj
              Nov 19 '18 at 3:31













            • @arunkamboj I don't understand why did you accept an answer that does not work and redirectes to index.php but under my answer you are saying that you don't want a redirect to index.php... You havn't even tested 301 redirect as I can tell.

              – Vizjerei
              Nov 19 '18 at 7:36



















            • I am using Redirect instead of RewriteRule, Can you please give some idea for Redirect /Test example.com/index.php?id=

              – arun kamboj
              Nov 16 '18 at 11:31











            • You won't be able to do that kind of redirect without RewriteRule. If you want you can do Redirect 301 /Test/logo.jpg http://example.com/index.php?id=logo.jpg and for each file you would have to make a seperate rule with that kind of redirect. In your .htaccess you have <IfModule mod_rewrite.c> so why nor use RewriteRule?

              – Vizjerei
              Nov 16 '18 at 11:41











            • @arunkamboj tested the 301 redirect with RewriteRule and have a 100% success rate.

              – Vizjerei
              Nov 16 '18 at 11:56











            • I have used the following .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !^(.jpg|.mp3|.xml) RewriteRule ^Test/(.*)$ /index.php?id=$1 [L] </IfModule> But still its not working, Its also redirect the jpg and xml file path into index page

              – arun kamboj
              Nov 19 '18 at 3:31













            • @arunkamboj I don't understand why did you accept an answer that does not work and redirectes to index.php but under my answer you are saying that you don't want a redirect to index.php... You havn't even tested 301 redirect as I can tell.

              – Vizjerei
              Nov 19 '18 at 7:36

















            I am using Redirect instead of RewriteRule, Can you please give some idea for Redirect /Test example.com/index.php?id=

            – arun kamboj
            Nov 16 '18 at 11:31





            I am using Redirect instead of RewriteRule, Can you please give some idea for Redirect /Test example.com/index.php?id=

            – arun kamboj
            Nov 16 '18 at 11:31













            You won't be able to do that kind of redirect without RewriteRule. If you want you can do Redirect 301 /Test/logo.jpg http://example.com/index.php?id=logo.jpg and for each file you would have to make a seperate rule with that kind of redirect. In your .htaccess you have <IfModule mod_rewrite.c> so why nor use RewriteRule?

            – Vizjerei
            Nov 16 '18 at 11:41





            You won't be able to do that kind of redirect without RewriteRule. If you want you can do Redirect 301 /Test/logo.jpg http://example.com/index.php?id=logo.jpg and for each file you would have to make a seperate rule with that kind of redirect. In your .htaccess you have <IfModule mod_rewrite.c> so why nor use RewriteRule?

            – Vizjerei
            Nov 16 '18 at 11:41













            @arunkamboj tested the 301 redirect with RewriteRule and have a 100% success rate.

            – Vizjerei
            Nov 16 '18 at 11:56





            @arunkamboj tested the 301 redirect with RewriteRule and have a 100% success rate.

            – Vizjerei
            Nov 16 '18 at 11:56













            I have used the following .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !^(.jpg|.mp3|.xml) RewriteRule ^Test/(.*)$ /index.php?id=$1 [L] </IfModule> But still its not working, Its also redirect the jpg and xml file path into index page

            – arun kamboj
            Nov 19 '18 at 3:31







            I have used the following .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !^(.jpg|.mp3|.xml) RewriteRule ^Test/(.*)$ /index.php?id=$1 [L] </IfModule> But still its not working, Its also redirect the jpg and xml file path into index page

            – arun kamboj
            Nov 19 '18 at 3:31















            @arunkamboj I don't understand why did you accept an answer that does not work and redirectes to index.php but under my answer you are saying that you don't want a redirect to index.php... You havn't even tested 301 redirect as I can tell.

            – Vizjerei
            Nov 19 '18 at 7:36





            @arunkamboj I don't understand why did you accept an answer that does not work and redirectes to index.php but under my answer you are saying that you don't want a redirect to index.php... You havn't even tested 301 redirect as I can tell.

            – Vizjerei
            Nov 19 '18 at 7:36













            0














            <?php
            $extension=end(explode(".",$_SERVER['PHP_SELF']));
            $arr=["png","jpg"];
            if(in_array(strtolower($extension), $arr)==""){
            header("location:https://www.google.com");
            } ?>





            share|improve this answer
























            • This doesn't use .htaccess and the location url is wrong.

              – Vizjerei
              Nov 16 '18 at 12:00











            • create a file in that folder with index.php name and paste my code and replace the location to your desired location. I hope this will work

              – Parvej Alam
              Nov 16 '18 at 12:06











            • Still won't work. You would have to get the file and attach it to the proper location. Changing the location by itself won't do a thing. The only thing you are doing here is checking the file extension. You're not even checking if the url is the one we want to check in.

              – Vizjerei
              Nov 16 '18 at 12:11
















            0














            <?php
            $extension=end(explode(".",$_SERVER['PHP_SELF']));
            $arr=["png","jpg"];
            if(in_array(strtolower($extension), $arr)==""){
            header("location:https://www.google.com");
            } ?>





            share|improve this answer
























            • This doesn't use .htaccess and the location url is wrong.

              – Vizjerei
              Nov 16 '18 at 12:00











            • create a file in that folder with index.php name and paste my code and replace the location to your desired location. I hope this will work

              – Parvej Alam
              Nov 16 '18 at 12:06











            • Still won't work. You would have to get the file and attach it to the proper location. Changing the location by itself won't do a thing. The only thing you are doing here is checking the file extension. You're not even checking if the url is the one we want to check in.

              – Vizjerei
              Nov 16 '18 at 12:11














            0












            0








            0







            <?php
            $extension=end(explode(".",$_SERVER['PHP_SELF']));
            $arr=["png","jpg"];
            if(in_array(strtolower($extension), $arr)==""){
            header("location:https://www.google.com");
            } ?>





            share|improve this answer













            <?php
            $extension=end(explode(".",$_SERVER['PHP_SELF']));
            $arr=["png","jpg"];
            if(in_array(strtolower($extension), $arr)==""){
            header("location:https://www.google.com");
            } ?>






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 16 '18 at 11:47









            Parvej AlamParvej Alam

            24118




            24118













            • This doesn't use .htaccess and the location url is wrong.

              – Vizjerei
              Nov 16 '18 at 12:00











            • create a file in that folder with index.php name and paste my code and replace the location to your desired location. I hope this will work

              – Parvej Alam
              Nov 16 '18 at 12:06











            • Still won't work. You would have to get the file and attach it to the proper location. Changing the location by itself won't do a thing. The only thing you are doing here is checking the file extension. You're not even checking if the url is the one we want to check in.

              – Vizjerei
              Nov 16 '18 at 12:11



















            • This doesn't use .htaccess and the location url is wrong.

              – Vizjerei
              Nov 16 '18 at 12:00











            • create a file in that folder with index.php name and paste my code and replace the location to your desired location. I hope this will work

              – Parvej Alam
              Nov 16 '18 at 12:06











            • Still won't work. You would have to get the file and attach it to the proper location. Changing the location by itself won't do a thing. The only thing you are doing here is checking the file extension. You're not even checking if the url is the one we want to check in.

              – Vizjerei
              Nov 16 '18 at 12:11

















            This doesn't use .htaccess and the location url is wrong.

            – Vizjerei
            Nov 16 '18 at 12:00





            This doesn't use .htaccess and the location url is wrong.

            – Vizjerei
            Nov 16 '18 at 12:00













            create a file in that folder with index.php name and paste my code and replace the location to your desired location. I hope this will work

            – Parvej Alam
            Nov 16 '18 at 12:06





            create a file in that folder with index.php name and paste my code and replace the location to your desired location. I hope this will work

            – Parvej Alam
            Nov 16 '18 at 12:06













            Still won't work. You would have to get the file and attach it to the proper location. Changing the location by itself won't do a thing. The only thing you are doing here is checking the file extension. You're not even checking if the url is the one we want to check in.

            – Vizjerei
            Nov 16 '18 at 12:11





            Still won't work. You would have to get the file and attach it to the proper location. Changing the location by itself won't do a thing. The only thing you are doing here is checking the file extension. You're not even checking if the url is the one we want to check in.

            – Vizjerei
            Nov 16 '18 at 12:11











            0














            Could you please try this? I have not tested it but it should work for you.



            <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteRule .(js|css|ico|gif|jpg|png|xml|html|mp3|ttf|eot)$ - [NC,L]
            RewriteRule ^Test/(.*)$ /index.php [L]
            </IfModule>





            share|improve this answer




























              0














              Could you please try this? I have not tested it but it should work for you.



              <IfModule mod_rewrite.c>
              RewriteEngine On
              RewriteRule .(js|css|ico|gif|jpg|png|xml|html|mp3|ttf|eot)$ - [NC,L]
              RewriteRule ^Test/(.*)$ /index.php [L]
              </IfModule>





              share|improve this answer


























                0












                0








                0







                Could you please try this? I have not tested it but it should work for you.



                <IfModule mod_rewrite.c>
                RewriteEngine On
                RewriteRule .(js|css|ico|gif|jpg|png|xml|html|mp3|ttf|eot)$ - [NC,L]
                RewriteRule ^Test/(.*)$ /index.php [L]
                </IfModule>





                share|improve this answer













                Could you please try this? I have not tested it but it should work for you.



                <IfModule mod_rewrite.c>
                RewriteEngine On
                RewriteRule .(js|css|ico|gif|jpg|png|xml|html|mp3|ttf|eot)$ - [NC,L]
                RewriteRule ^Test/(.*)$ /index.php [L]
                </IfModule>






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 19 '18 at 5:47









                M.BainsM.Bains

                278




                278






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53336115%2fhow-to-redirect-user-to-another-location-from-particular-folder-if-there-is-no-e%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Bressuire

                    Vorschmack

                    Quarantine